-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
106 lines (91 loc) 路 2.29 KB
/
Copy pathpyproject.toml
File metadata and controls
106 lines (91 loc) 路 2.29 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
94
95
96
97
98
99
100
101
102
103
104
105
106
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "metasp"
authors = [
{ name = "Susana Hahn and Amade Nemes", email = "hahnmartinlu@uni-potsdam.de" },
]
description = "Framework for meta-programming in ASP"
requires-python = ">=3.12"
license = { file = "LICENSE" }
dynamic = ["version"]
readme = "README.md"
dependencies = [
"clingo>=5.6.0",
"setuptools>=42",
"pyyaml",
"rich-argparse",
"clingox",
"clingcon",
"flingo",
"meta-tools-clingo>=0.3.4",
"aspen-tree-5",
"tree-sitter-metasp",
]
[project.urls]
Homepage = "https://github.com/potassco/metasp.git/"
Documentation = "https://docs.potassco.org/metasp/"
Repository = "https://github.com/potassco/metasp"
Issues = "https://github.com/potassco/metasp/issues"
Changelog = "https://github.com/potassco/metasp/blob/master/CHANGES.md"
[project.optional-dependencies]
format = ["black", "isort", "autoflake"]
lint_pylint = ["pylint"]
typecheck = ["types-setuptools", "mypy"]
test = ["coverage[toml]"]
doc = [
"mkdocs",
"mkdocs-material",
"mkdocstrings[python]",
"clindocs>=1.5.1",
"mkdocs-literate-nav",
"pygments_clingo",
]
lsp = [
"python-lsp-server",
"rope",
"pylsp-mypy",
"pylsp-rope",
"python-lsp-black",
]
dev = ["metasp[test,typecheck,lint_pylint,lsp]"]
[project.scripts]
metasp = "metasp.__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 = 10
max-attributes = 7
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.coverage.run]
source = ["metasp", "tests"]
[tool.coverage.report]
exclude_lines = ["assert", "nocoverage"]
omit = ["src/metasp/app.py", "src/metasp/utils/test.py"]