-
Notifications
You must be signed in to change notification settings - Fork 27
/
pyproject.toml
111 lines (98 loc) · 2.5 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "PyDelphin"
dynamic = ["version"]
description = "Libraries and scripts for DELPH-IN data"
readme = "README.md"
requires-python = ">=3.8"
license = "MIT"
authors = [
{name = "Michael Wayne Goodman", email = "[email protected]"}
]
keywords = ["nlp", "semantics", "hpsg", "delph-in", "linguistics"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing :: Linguistic",
"Topic :: Utilities",
]
dependencies = [
"penman",
"progress",
"Pygments",
]
[project.optional-dependencies]
web = [
"falcon",
"requests",
]
repp = [
"regex"
]
[project.scripts]
delphin = "delphin.main:main"
[project.urls]
Homepage = "https://github.com/delph-in/pydelphin"
Documentation = "https://pydelphin.readthedocs.io"
Changelog = "https://github.com/delph-in/pydelphin/blob/main/CHANGELOG.md"
[tool.hatch.version]
path = "delphin/__about__.py"
[tool.hatch.build.targets.sdist]
exclude = [
"/.github",
]
[tool.hatch.build.targets.wheel]
packages = ["delphin"]
[tool.hatch.envs.dev]
dependencies = [
"pytest",
"ruff",
"mypy",
"types-requests",
]
[tool.hatch.envs.dev.scripts]
test = "pytest {args:.}"
lint = "ruff check {args:delphin/}"
typecheck = "mypy --namespace-packages --explicit-package-bases --ignore-missing-imports --disable-error-code=method-assign {args:delphin/}"
[tool.hatch.envs.docs]
dependencies = [
"sphinx",
"sphinx-rtd-theme",
"requests",
"falcon",
]
[tool.hatch.envs.docs.scripts]
build = "make -C docs html"
clean = "make -C docs clean"
[tool.ruff]
target-version = "py38"
line-length = 79
[tool.ruff.lint]
select = [
"B", # flake8-bugbear
"E", # pycodestyle errors
"I", # isort
"F", # Pyflakes
"W", # pycodestyle warnings
]
[tool.ruff.lint.isort]
combine-as-imports = true
force-wrap-aliases = true
[tool.ruff.format]
quote-style = "single"
[tool.mypy]
python_version = "3.8"