-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
76 lines (62 loc) · 2.26 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
[build-system]
requires = ["setuptools>=45", "wheel", "setuptools_scm[toml]>=6.2"]
[project]
name = "newclid"
authors = [
{name = "Mathis Federico", email = "[email protected]"},
{name = "Vladmir Sicca", email = "[email protected]"},
{name = "Tianxiang Xia", email = "[email protected]"}
]
dynamic = ["version", "readme", "dependencies"]
description = "Symbolic solver for geometric problems."
requires-python = ">=3.6"
classifiers=[
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'Topic :: Software Development',
'Topic :: Scientific/Engineering',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Operating System :: Unix',
'Operating System :: MacOS',
]
[project.optional-dependencies]
dev = ['black', 'ruff', 'pytest', 'pytest-cov', 'pytest-check', 'pytest-mock', 'pre-commit']
doc = ['numpy', 'sphinx-autoapi', 'autoapi', 'sphinx_rtd_theme', 'sphinx-autodoc-typehints', 'sphinx-autobuild']
[tool.setuptools]
license-files = ['LICEN[CS]E*', 'COPYING*', 'NOTICE*', 'AUTHORS*']
[project.scripts]
newclid = "newclid.__main__:main"
[tool.setuptools.dynamic]
readme = { file = ["README.md"] }
dependencies = { file = ["requirements.txt"] }
[tool.setuptools_scm]
[tool.pytest.ini_options]
filterwarnings = [
'ignore:distutils Version classes are deprecated:DeprecationWarning',
'ignore:`np.bool8` is a deprecated alias for `np.bool_`:DeprecationWarning',
'ignore:Training and eval env are not of the same type:UserWarning',
]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
]
[tool.coverage.run]
source = ['src']
[tool.coverage.report]
exclude_also = [
# Don't complain about missing debug-only code:
"def __repr__",
"if self\\.debug",
# Don't complain if tests don't hit defensive assertion code:
"raise AssertionError",
"raise NotImplementedError",
# Don't complain if non-runnable code isn't run:
"if 0:",
"if __name__ == .__main__.:",
# Don't complain about abstract methods, they aren't run:
"@(abc\\.)?abstractmethod",
# Don't complain about typing imports, they aren't run:
"if TYPE_CHECKING:",
# Don't complain about optional imports, they don't matter for now:
"except ImportError:"
]