-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
102 lines (92 loc) · 2.61 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
[tool.towncrier]
package = "OpenGrammar"
package_dir = "opengrammar"
directory = "changes"
filename = "CHANGELOG.rst"
issue_format = "`#{issue} <https://github.com/vivekjoshy/OpenGrammar/issues/{issue}>`_"
type = [
{ name = "Breaking Changes", directory = "breaking", showcontent = true },
{ name = "Deprecation", directory = "deprecation", showcontent = true },
{ name = "Features", directory = "feature", showcontent = true },
{ name = "Bugfixes", directory = "bugfix", showcontent = true },
{ name = "Documentation Improvements", directory = "doc", showcontent = true },
]
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra --strict-markers --ignore=docs/conf.py --ignore=setup.py --ignore=.eggs --doctest-modules --doctest-glob=/*.py --tb=short"
norecursedirs = [
".git",
".tox",
".env",
"dist",
"build",
"migrations"
]
testpaths = [
"tests"
]
python_files = [
"test_*.py",
"*_test.py",
"tests.py"
]
[tool.isort]
profile = "black"
[tool.mypy]
python_version = "3.11"
strict = true
[project]
name = "opengrammar"
version = "0.1.0"
authors = [
{name = "Vivek Joshy", email = "[email protected]"},
]
maintainers = [
{name = "Vivek Joshy", email = "[email protected]"}
]
description = "Natural Language Inference Engine"
readme = "README.md"
requires-python = ">=3.11"
keywords = ["parser", "nlp", "grammar"]
license = {text = "MIT"}
classifiers = [
"Development Status :: 1 - Planning",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython"
]
dependencies = [
"lark~=1.2",
"rich~=13.4",
"typer~=0.9"
]
[project.urls]
Documentation = "https://opengrammar.readthedocs.io/en/stable"
Changelog = "https://github.com/OpenDebates/OpenGrammar/blob/main/CHANGELOG.rst"
Funding = "https://github.com/sponsors/OpenDebates"
Source = "https://github.com/OpenDebates/OpenGrammar"
Tracker = "https://github.com/OpenDebates/OpenGrammar/issues"
[tool.uv]
dev-dependencies = [
"tox~=4.21",
"mypy~=1.11",
"pytest~=8.2",
"coverage~=7.6",
"pytest-cov~=5.0",
"twine~=5.1",
"build~=1.2",
"isort~=5.13",
"black~=24.10",
"codecov~=2.1",
"towncrier~=24.8",
"bump-my-version~=0.27",
]
[tool.setuptools]
packages = ["opengrammar"]
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"