-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
65 lines (59 loc) · 1.16 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
[tool.shelf.version]
version = "./app/__init__.py"
changelog = "CHANGELOG.md"
[tool.shelf.git]
commit_prefix_force_fix = true
commit_prefix = [
["initial", "Features", ":bulb:"],
]
[tool.docformatter]
wrap-summaries = 80
wrap-descriptions = 80
[tool.black]
line-length = 80
target-version = ['py39']
preview = true
exclude = """
(
/(
\\.git
| \\.eggs
| \\.__pycache__
| \\.idea
| \\.ruff_cache
| \\.mypy_cache
| \\.pytest_cache
| \\.venv
| build
| dist
| venv
)/
)
"""
[tool.ruff]
line-length = 80
exclude = [
".git",
".mypy_cache",
".ruff_cache",
"venv",
"vendor",
"__legacy",
]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
]
ignore = [
"E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
"C901", # too complex
"C416", # unnecessary `dict` comprehension (rewrite using `dict()`)
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]