generated from potassco/python-project-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
89 lines (73 loc) · 2.2 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
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "coomsuite"
authors = [
{ name = "Nicolas Rühling", email = "[email protected]" },
]
description = "Python package to parse and solve COOM configuration instances using ASP."
requires-python = ">=3.9"
dependencies = [
"antlr4-tools",
"antlr4-python3-runtime==4.9.3",
"clingo==5.7.*",
"clingcon >= 5.2.1, == 5.2.*", # requirement for fclingo
"fclingo@git+https://github.com/potassco/fclingo.git@6f4d7efc92bfac18465e2c95c4ef9ac99ef470b5",
]
license = { file = "LICENSE" }
dynamic = ["version"]
readme = "README.md"
[project.urls]
Hompage = "https://github.com/krr-up/coom-suite.git/"
[project.optional-dependencies]
format = ["black", "isort", "autoflake"]
lint_pylint = ["pylint"]
typecheck = ["types-setuptools", "mypy"]
test = ["coverage[toml]", "clintest>=0.2.0"]
doc = ["sphinx", "furo", "nbsphinx", "sphinx_copybutton", "myst-parser"]
dev = ["coomsuite[test,typecheck,lint_pylint]"]
[project.scripts]
coomsuite = "coomsuite.__main__:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools_scm]
version_scheme = "python-simplified-semver"
local_scheme = "no-local-version"
[tool.isort]
profile = "black"
line_length = 120
[tool.black]
line-length = 120
[tool.pylint.format]
max-line-length = 120
[tool.pylint.design]
max-args = 5
max-positional-arguments = 5
max-attributes = 8
max-bool-expr = 5
max-branches = 12
max-locals = 30
max-parents = 7
max-public-methods = 20
max-returns = 10
max-statements = 50
min-public-methods = 1
[tool.pylint.similarities]
ignore-comments = true
ignore-docstrings = true
ignore-imports = true
ignore-signatures = true
[tool.pylint.basic]
argument-rgx = "^[a-z][a-z0-9]*((_[a-z0-9]+)*_?)?$"
variable-rgx = "^[a-z][a-z0-9]*((_[a-z0-9]+)*_?)?$"
good-names = ["_"]
[tool.pylint.MASTER]
ignore = ["coom_grammar"]
[tool.coverage.run]
source = ["coomsuite", "tests"]
omit = ["*/coomsuite/__main__.py", "*/coom_grammar/*", "*/tests/__init__.py"]
[tool.coverage.report]
exclude_lines = ["assert", "nocoverage"]
[tool.mypy]
exclude = ['coom_grammar', '/coomsuite/__main__.py']