-
Notifications
You must be signed in to change notification settings - Fork 72
Expand file tree
/
Copy pathpyproject.toml
More file actions
93 lines (80 loc) Β· 2.45 KB
/
pyproject.toml
File metadata and controls
93 lines (80 loc) Β· 2.45 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
91
92
93
[project]
name = "language_tool_python"
version = "3.4.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",
]
quality = [
# Keep in sync mypy version with .pre-commit-config.yaml
"mypy==2.0.0; python_version >= '3.10'", # mypy checks must be run with Python >= 3.10
# Keep in sync ruff version with .pre-commit-config.yaml
"ruff==0.15.12",
]
[project.scripts]
language_tool_python = "language_tool_python.__main__:main"
[build-system]
requires = ["uv_build>=0.11.14,<0.12"]
build-backend = "uv_build"
[tool.uv.build-backend]
module-root = "" # uv expects the code to be in a "src/" directory by default, but our code is in the the current dir
[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