-
Notifications
You must be signed in to change notification settings - Fork 1
/
ruff.toml
30 lines (30 loc) · 948 Bytes
/
ruff.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
exclude = ["venv*"]
line-length = 99
target-version = "py38"
lint.ignore = [
"PLR2004", # Magic value used in comparison, consider replacing {value} with a constant variable
"D104", # Missing docstring in public package
"D107", # Missing docstring in __init__
"PT001", # Use `@pytest.fixture()` over `@pytest.fixture`
"PT023", # Use `@pytest.mark.asyncio()` over `@pytest.mark.asyncio`
"UP036", # Version block is outdated for minimum Python version
]
lint.select = [
"B", # bandit
"C", # complexity
"D", # docstrings
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
"PT", # flake8-pytest
"RUF", # ruff base config
"SIM", # flake-simplify
"UP", # pyupgrade
"W", # pycodestyle warnings
"YTT", # flake8-2020
# "ARG", # flake8-unused args
]
[lint.pydocstyle]
convention = "pep257"
[lint.flake8-unused-arguments]
ignore-variadic-names = true