-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
104 lines (92 loc) · 2.1 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
[project]
name = "pyaspeller"
version = "2.0.2"
description = "Search tool typos in the text, files and websites."
authors = [
{ name = "Vasiliy Taranov", email = "[email protected]" },
]
maintainers = [
{ name = "Vasiliy Taranov", email = "[email protected]" },
]
license = { file = "LICENSE" }
readme = "README.md"
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"
]
requires-python = ">=3.9"
dependencies = [
"requests>=2.32.3",
]
[project.urls]
homepage = "https://github.com/oriontvv/pyaspeller"
repository = "https://github.com/oriontvv/pyaspeller"
changelog = "https://github.com/oriontvv/pyaspeller/blob/master/CHANGELOG.md"
[project.scripts]
pyaspeller = "pyaspeller:main"
[build-system]
requires = ['hatchling', 'hatch-fancy-pypi-readme>=22.5.0']
build-backend = 'hatchling.build'
[dependency-groups]
dev = [
"coveralls>=4.0.1",
"mypy>=1.14.0",
"pytest>=8.3.4",
"pytest-cov>=6.0.0",
"pytest-deadfixtures>=2.2.1",
"requests-mock>=1.12.1",
"ruff>=0.8.4",
"types-requests>=2.32.0.20241016",
]
[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]
line-length = 120
[tool.ruff.lint]
ignore = [
"N801",
"N802",
"N803",
]
select = [
"ANN",
"E",
"ERA",
"F",
"N",
"Q",
"TID",
"W",
]
[tool.ruff.lint.flake8-annotations]
mypy-init-return = true
[tool.ruff.lint.flake8-quotes]
inline-quotes = "double"
[tool.ruff.lint.flake8-tidy-imports]
ban-relative-imports = "all"
[tool.mypy]
ignore_missing_imports = true