-
Notifications
You must be signed in to change notification settings - Fork 71
Expand file tree
/
Copy pathpyproject.toml
More file actions
90 lines (77 loc) Β· 2.32 KB
/
pyproject.toml
File metadata and controls
90 lines (77 loc) Β· 2.32 KB
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
[project]
name = "language_tool_python"
version = "3.3.0" # Keep in sync with docs/source/conf.py
requires-python = ">=3.9"
description = "Checks grammar using LanguageTool."
readme = { file = "README.md", content-type = "text/markdown" }
license = "GPL-3.0-only"
license-files = ["LICENSE"]
authors = [
{ name = "Jack Morris", email = "jxmorris12@gmail.com" }
]
maintainers = [
{ name = "mdevolde", email = "martin.devolder2@gmail.com" }
]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing :: Linguistic",
]
keywords = ["python", "nlp", "grammar", "languagetool", "grammar-checker", "spellchecker", "grammar-parser"]
dependencies = [
"requests",
"tqdm",
"packaging",
"psutil",
"toml"
]
[project.urls]
repository = "https://github.com/jxmorris12/language_tool_python.git"
documentation = "https://language-tool-python.readthedocs.io/en/latest/"
changelog = "https://github.com/jxmorris12/language_tool_python/blob/master/CHANGELOG.md"
[dependency-groups]
tests = [
"pytest",
"pytest-cov",
]
docs = [
"furo",
"sphinx",
"sphinx-design",
]
types = [
"types-requests",
"types-tqdm",
"types-psutil",
"types-toml",
]
[project.scripts]
language_tool_python = "language_tool_python.__main__:main"
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = { find = { include = ["language_tool_python*"] } }
[tool.setuptools.package-data]
language_tool_python = ["py.typed", "logging.toml"]
[tool.ruff.lint]
select = ["F", "W", "I", "B", "SIM", "RET", "Q", "N", "S", "BLE"]
[tool.ruff.lint.per-file-ignores]
"tests/*.py" = ["S101"]
[tool.mypy]
files = ["language_tool_python", "tests"]
strict = true
warn_unused_ignores = true
warn_redundant_casts = true
warn_unreachable = true
no_implicit_optional = true
show_error_codes = true
pretty = true
disable_error_code = ["import-not-found", "import-untyped", "unused-ignore"]