-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
42 lines (38 loc) · 940 Bytes
/
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
[tool.ruff]
ignore = []
fixable = ["I", "W"]
select = [
"A", # flake8-builtins
"B", # flake8-bugbear
"D", # pydocstyle
"E", # pycodestyle errors
"F", # Pyflakes
"I", # isort
"N", # pep8-naming
"W", # pycodestyle warnings
"C4", # flake8-comprehensions
"C90", # mccabe
"COM", # flake8-commas
]
extend-select = [
"D", # pydocstyle
]
extend-ignore = [
# Google docstring conventions
"D203", # No blank lines before class docstring
"D213", # Multi-line docstrings should start at the first line
"D406", # Allow colons after "Args", "Returns"
"D407", # Allow "Args", "Returns"
]
exclude = [
"__pypackages__",
"__pycache__",
".mypy_cache",
".ruff_cache",
".git",
]
line-length = 80
# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
# Assume Python 3.7.
target-version = "py37"