-
Notifications
You must be signed in to change notification settings - Fork 17
/
pyproject.toml
114 lines (105 loc) · 2.9 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
[build-system]
requires = ["poetry_core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "ruts"
version = "0.8.2.dev"
homepage = "https://github.com/SergeyShk/ruTS"
repository = "https://github.com/SergeyShk/ruTS"
documentation = "https://sergeyshk.github.io/ruTS/"
authors = [
"Шкарин Сергей <[email protected]>",
"Смирнова Екатерина <[email protected]>",
]
maintainers = ["Шкарин Сергей <[email protected]>"]
description = "Russian Texts Statistics"
license = "MIT"
keywords = ["NLP", "natural", "language", "processing", "CL", "computational", "linguistics", "text", "analytics", "russian"]
classifiers = [
"Development Status :: 4 - Beta",
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"Topic :: Text Processing",
"Topic :: Text Processing :: Linguistic",
"Natural Language :: Russian"
]
readme = "README.md"
exclude = ["tests", "docs", "ruts/datasets/data"]
include = ["LICENSE.txt", "README.en.md"]
[tool.poetry.dependencies]
python = ">=3.8,<3.12"
graphviz = "^0.20.1"
matplotlib = "^3.3.0"
nltk = "^3.7"
numpy = "^1.23.0"
pandas = "^1.4.3"
pymorphy2 = "^0.9.1"
razdel = "^0.5.0"
scipy = "^1.9.0"
spacy = "^3.4.0"
[tool.poetry.dev-dependencies]
black = "*"
isort = "*"
mypy = "*"
ruff = "*"
pre-commit = "*"
pytest = "*"
pytest-cov = "*"
[tool.black]
target-version = ["py38"]
line-length = 99
color = true
[tool.isort]
py_version = 38
line_length = 99
known_typing = ["typing", "types", "typing_extensions", "mypy", "mypy_extensions"]
sections = ["FUTURE", "TYPING", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
profile = "black"
include_trailing_comma = true
multi_line_output = 3
indent = 4
color_output = true
[tool.mypy]
python_version = 3.8
files = ["ruts"]
pretty = true
show_traceback = true
color_output = true
allow_redefinition = false
check_untyped_defs = true
disallow_any_generics = true
disallow_incomplete_defs = true
ignore_missing_imports = true
implicit_reexport = false
no_implicit_optional = true
show_column_numbers = true
show_error_codes = true
show_error_context = true
strict_equality = true
strict_optional = true
warn_no_return = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
warn_unused_configs = true
warn_unused_ignores = true
[tool.ruff]
target-version = "py38"
line-length = 99
select = ["A", "B", "C", "E", "F", "N", "Q", "W", "UP"]
ignore = ["E501", "B904"]
format = "grouped"
exclude = ["*.md"]
show-source = true
[tool.ruff.mccabe]
max-complexity = 18
[tool.pytest.ini_options]
addopts = "-vv -x --lf"
testpaths = ["tests"]