-
Notifications
You must be signed in to change notification settings - Fork 197
/
Copy pathpyproject.toml
119 lines (96 loc) · 2.43 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
[tool.isort]
profile = "black"
known_first_party = "bodhi"
lines_after_imports = 2
force_alphabetical_sort_within_sections = true
from_first = true
[tool.mypy]
mypy_path = "bodhi-client:bodhi-messages:bodhi-server"
namespace_packages = true
explicit_package_bases = true
follow_imports = "silent"
[[tool.mypy.overrides]]
module = 'backoff.*'
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = 'bugzilla.*'
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = 'dnf.*'
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = 'fedora.*'
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = 'fedora_messaging.*'
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = 'koji.*'
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = 'munch.*'
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = 'pyramid.*'
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = 'xmlrpc.*'
ignore_missing_imports = true
[tool.pydocstyle]
inherit = true
add-ignore = "D413"
[tool.pytest.ini_options]
addopts = "--cov-config .coveragerc --cov=bodhi --cov-report term-missing --cov-report xml --cov-report html"
testpaths = ["tests"]
[tool.ruff]
extend-exclude = [
'bodhi-ci'
]
line-length = 100
[tool.towncrier]
package = "bodhi"
package_dir = "./bodhi-server"
filename = "docs/user/release_notes.rst"
directory = "news/"
title_format = "v{version}"
issue_format = "{issue}"
template = "news/_template.rst"
underlines = "=^-"
wrap = true
all_bullets = true
[[tool.towncrier.type]]
directory = "bic"
name = "Backwards incompatible changes"
showcontent = true
[[tool.towncrier.type]]
directory = "dependency"
name = "Dependency changes"
showcontent = true
[[tool.towncrier.type]]
directory = "migration"
name = "Server upgrade instructions"
showcontent = false
[[tool.towncrier.type]]
directory = "feature"
name = "Features"
showcontent = true
[[tool.towncrier.type]]
directory = "bug"
name = "Bug fixes"
showcontent = true
[[tool.towncrier.type]]
directory = "dev"
name = "Development improvements"
showcontent = true
[[tool.towncrier.type]]
directory = "docs"
name = "Documentation improvements"
showcontent = true
[[tool.towncrier.type]]
directory = "other"
name = "Other changes"
showcontent = true
[[tool.towncrier.type]]
directory = "author"
name = "Contributors"
showcontent = true