-
Notifications
You must be signed in to change notification settings - Fork 5
/
pyproject.toml
78 lines (64 loc) · 1.62 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
[build-system]
requires = [
"setuptools",
"setuptools-scm",
]
build-backend = "setuptools.build_meta"
[project]
name = "fillname"
authors = [
{ name = "Author Fillname", email = "author@fillname.org" }
]
description = "A template project."
requires-python = ">=3.9"
license = {file = "LICENSE"}
dynamic = [ "version" ]
readme = "README.md"
[project.urls]
Homepage = "https://fillname.org/"
[project.optional-dependencies]
format = [ "black", "isort", "autoflake" ]
lint_pylint = [ "pylint" ]
typecheck = [ "types-setuptools", "mypy" ]
test = [ "coverage[toml]" ]
doc = [ "sphinx", "furo", "nbsphinx", "sphinx_copybutton", "myst-parser" ]
dev = [ "fillname[test,typecheck,lint_pylint]" ]
[project.scripts]
fillname = "fillname.__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 = ["fillname", "tests"]
omit = ["*/fillname/__main__.py"]
[tool.coverage.report]
exclude_lines = ["assert", "nocoverage"]