-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathruff.toml
More file actions
28 lines (23 loc) · 731 Bytes
/
ruff.toml
File metadata and controls
28 lines (23 loc) · 731 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
select = ["E", "F", "B", "D", "I", "W", "N", "UP", "ANN", "B", "A", "COM", "C4", "DTZ", "PIE", "PT", "Q", "RET", "SIM", "ARG", "PTH", "TD", "FIX", "ERA", "PL", "R", "NPY", "PERF", "FURB", "DOC", "RUF"]
# select = ["ALL"]
ignore = [
"I001",
"D101",
"D107",
"D105",
"T201", # presence of print
"G004", # f-strings in logger statements
"F722", # forward references
]
indent-width = 4
target-version = "py310"
[format]
# Enable reformatting of code snippets in docstrings.
docstring-code-format = true
# Prefer double quotes over single quotes
quote-style = "double"
[lint]
# Do not track variables starting with '_' as to whether they're used.
dummy-variable-rgx = "^_"
[lint.isort]
force-single-line = false