-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpyproject.toml
83 lines (68 loc) · 1.67 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
# SPDX-FileCopyrightText: Contributors to the Fedora Project
#
# SPDX-License-Identifier: MIT
[tool.black]
line-length = 100
[tool.ruff]
select = ["E", "F", "W", "I", "UP", "S", "B", "RUF"]
line-length = 100
target-version = "py310"
ignore = ["UP038"]
[tool.ruff.per-file-ignores]
"tests/*" = ["S101", "RUF012"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
[tool.coverage.run]
branch = true
source = ["fedora"]
[tool.coverage.report]
fail_under = 100
show_missing = true
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if TYPE_CHECKING:",
"raise NotImplementedError",
"^\\s*pass$",
"\\.\\.\\.",
]
[tool.towncrier]
package = "fedora"
directory = "changelog.d"
filename = "docs/changelog.md"
start_string = "<!-- towncrier release notes start -->\n"
underlines = ["", "", ""]
template = "changelog.d/changelog_template.jinja"
title_format = "## [{version}](https://github.com/fedora-infra/maubot-fedora/tree/{version}) - {project_date}"
issue_format = "[#{issue}](https://github.com/fedora-infra/maubot-fedora/issues/{issue})"
[[tool.towncrier.type]]
directory = "security"
name = "Security"
showcontent = true
[[tool.towncrier.type]]
directory = "removed"
name = "Removed"
showcontent = true
[[tool.towncrier.type]]
directory = "deprecated"
name = "Deprecated"
showcontent = true
[[tool.towncrier.type]]
directory = "added"
name = "Added"
showcontent = true
[[tool.towncrier.type]]
directory = "changed"
name = "Changed"
showcontent = true
[[tool.towncrier.type]]
directory = "fixed"
name = "Fixed"
showcontent = true
[[tool.mypy.overrides]]
module = [
"httpx_gssapi",
"fedora_messaging",
"maubot_fedora_messages",
]
ignore_missing_imports = true