-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
103 lines (90 loc) · 1.99 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
[tool.poetry]
name = "pyaspeller"
version = "2.0.0"
description = "Search tool typos in the text, files and websites."
authors = [
"Vasiliy Taranov <[email protected]>",
]
license = "Apache 2"
readme = "README.md"
homepage = "https://github.com/oriontvv/pyaspeller"
repository = "https://github.com/oriontvv/pyaspeller"
documentation = "https://github.com/oriontvv/pyaspeller"
keywords = [
"spell",
"spelling",
"spellcheck",
"api",
"yandex",
"text",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"Programming Language :: Python :: 3",
"Topic :: Text Processing :: Linguistic"
]
packages = [
{ include = "pyaspeller", from = "src" }
]
[tool.poetry.scripts]
pyaspeller = "src.pyaspeller.__init__:main"
[tool.poetry.dependencies]
python = "^3.7"
requests = "^2.27.1"
[tool.poetry.dev-dependencies]
coveralls = { version = "^3.3.1", extras = [ "toml" ]}
mypy = "^1.4"
pytest = "^7.4.0"
pytest-cov = "^4.1.0"
pytest-deadfixtures = "^2.2.1"
requests-mock = "^1.11.0"
[tool.poetry.group.dev.dependencies]
ruff = "^0.1.6"
[build-system]
requires = [
"poetry>=0.12",
]
build-backend = "poetry.masonry.api"
[tool.coverage.run]
relative_files = true
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug:",
"if settings.DEBUG",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if __name__ == .__main__.:",
]
[tool.ruff]
ignore = [
"ANN101",
"N801",
"N802",
"N803",
]
line-length = 120
select = [
"ANN",
"E",
"ERA",
"F",
"N",
"Q",
"TID",
"W",
]
[tool.ruff.flake8-annotations]
mypy-init-return = true
[tool.ruff.flake8-quotes]
inline-quotes = "double"
[tool.ruff.flake8-tidy-imports]
ban-relative-imports = "all"
[tool.mypy]
ignore_missing_imports = true