-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpyproject.toml
88 lines (77 loc) · 1.71 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
[tool.black]
line-length = 88
target-version = ['py37', 'py38']
include = '\.pyi?$'
exclude = '''
(
/(
\.circleci
| \.eggs
| \.git
| \.github
| \.venv
)/
)
'''
[tool.towncrier]
package = "kitconcept.dsgvo"
package_dir = "src"
filename = "CHANGELOG.md"
directory = "news/"
title_format = "## {version} ({project_date})\n"
start_string = "<!-- TOWNCRIER -->\n"
# Custom Jinja2 template for preparing a new section of the Change Log.
template = "news/template.md.j2"
underlines = ["", "##", "###"]
[[tool.towncrier.type]]
directory = "feature"
name = "Features"
showcontent = true
[[tool.towncrier.type]]
directory = "bugfix"
name = "Bug fixes"
showcontent = true
[[tool.towncrier.type]]
directory = "docs"
name = "Documentation"
showcontent = true
[[tool.towncrier.type]]
directory = "internal"
name = "Internal"
showcontent = true
[[tool.towncrier.type]]
directory = "trivial"
name = "Other"
showcontent = true
[tool.check-manifest]
ignore = [
"*.cfg",
".coveragerc",
".editorconfig",
".gitattributes",
]
[tool.isort]
profile = "black"
force_alphabetical_sort = true
force_single_line = true
lines_after_imports = 2
line_length = 88
[tool.flakeheaven]
format="grouped"
max_line_length=88
show_source=true
exclude = ["README.md"]
max-complexity=25
[tool.flakeheaven.plugins]
# Disable some checks.
# - E501 line too long
# flake8 is already testing this, with max-line-length=100000 in .flake8,
# so pycodestyle should not test it.
# - W503 line break before binary operator
# Outdated recommendation, see https://www.flake8rules.com/rules/W503.html
mccabe = ["+*"]
pycodestyle = ["+*", "-E501", "-W503"]
pyflakes = ["+*"]
pylint = ["+*"]
[tool.plone-code-analysis]
paths = "setup.py src/"