-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathruff.toml
More file actions
44 lines (37 loc) · 911 Bytes
/
ruff.toml
File metadata and controls
44 lines (37 loc) · 911 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
# Ruff Configuration.
# ==================
line-length = 88
target-version = "py311"
[format]
[lint]
select = [
"F", # Pyflakes.
"E", # pycodestyle error.
"W", # pycodestyle warning.
"C90", # mccabe.
"I001", # isort.
"N", # pep8 naming.
"D", # pydocstyle.
"UP", # pyupgrade.
"ANN", # flake8-annotations.
"S", # flake8-bandit.
"B", # flake8-bugbear.
"C4", # flake8-comprehensions.
"SIM", # flake8-simplify.
"TID", # flake8-tidy-imports.
"Q", # flake8-quotes.
"PT", # flake8-pytest-style.
]
ignore = []
[lint.pydocstyle]
convention = "pep257"
[lint.flake8-tidy-imports]
ban-relative-imports = "all"
[lint.flake8-quotes]
inline-quotes = "double"
docstring-quotes = "double"
multiline-quotes = "double"
[lint.per-file-ignores]
"__init__.py" = ["F401"]
"**/test_*" = ["S101"]
"**/schemas.py" = ["N801", "D106"]