-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
45 lines (37 loc) · 988 Bytes
/
pyproject.toml
File metadata and controls
45 lines (37 loc) · 988 Bytes
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
[tool.black]
line-length = 120
[tool.isort]
line_length = 120
profile = "black"
[tool.ruff]
target-version = "py37"
line-length = 120
select = [
"C", # complexity
"D", # docstrings
"E", # pycodestyle
"F", # pyflakes/autoflake
"I", # isort
"W", # pycodestyle
"UP", # pyupgrade
"N", # pep8-naming
"PGH004", # Use specific rule codes when using noqa
]
ignore = [
"D202", # No blank lines allowed after function docstring
"D203", # 1 blank line required before class docstring
"D212", # Multi-line docstring summary should start at the first line
"D213", # Multi-line docstring summary should start at the second line
"D100", # Missing docstring in public module
"D105", # Missing docstring in magic method
"D107", # Missing docstring in `__init__`
]
[tool.ruff.per-file-ignores]
[tool.ruff.mccabe]
max-complexity = 25
[tool.ruff.pydocstyle]
convention = "google"
[tool.coverage.run]
omit = [
"tests/*",
]