This repository has been archived by the owner on Aug 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
/
pyproject.toml
66 lines (57 loc) · 1.76 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
[tool.brunette]
target-version = ["py310", "py311"]
single-quotes = true
[tool.isort]
profile = "black"
combine_as_imports = true
combine_star = true
[tool.coverage.report]
exclude_lines = [
"if TYPE_CHECKING:",
]
[tool.towncrier]
# For finding the __version__
package = "pycord"
package_dir = "pycord"
# For writing into the correct file
filename = "CHANGELOG.md"
start_string = "<!-- tc.s -->\n"
# For finding the news fragments
directory = "changes/"
# For rendering properly for this project
title_format = "## [{version}](https://github.com/pycord/pycord-v3/tree/{version}) ({project_date})"
underlines = ["", "", ""]
template = "templates/towncrier.jinja"
# Grouping of entries, within our changelog
type = [
{ name = "Deprecations and Removals", directory = "removal", showcontent = true },
{ name = "Features", directory = "feature", showcontent = true },
{ name = "Bug Fixes", directory = "bug", showcontent = true },
{ name = "Documentation", directory = "doc", showcontent = true },
{ name = "Etcetera", directory = "etc", showcontent = false },
{ name = "Trivial Changes", directory = "trivial", showcontent = false },
]
[tool.mypy]
strict = false
check_untyped_defs = false
incremental = true
namespace_packages = true
no_implicit_optional = true
pretty = true
python_version = 3.11
show_column_numbers = true
show_error_codes = true
show_error_context = true
# allowed
allow_untyped_globals = false
allow_redefinition = true
# disallowed
disallow_untyped_decorators = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
# warnings
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
warn_unused_configs = true
warn_unused_ignores = true