-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathruff.toml
More file actions
51 lines (47 loc) · 841 Bytes
/
ruff.toml
File metadata and controls
51 lines (47 loc) · 841 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
46
47
48
49
50
51
line-length = 120
[format]
quote-style = "double"
docstring-code-format = true
exclude = [
"./.cache",
"./.git",
"./.idea",
"./.mypy_cache",
"./.pytest_cache",
"./.venv",
"./venv",
"./env",
"./cached_venv",
"./docs",
"./var",
"./.vscode",
]
[lint.isort]
lines-after-imports = 2
lines-between-types = 1
no-lines-before = ["future", "standard-library"]
no-sections = false
order-by-type = true
[lint]
extend-select = ["E", "F", "I", "UP", "B", "W", "C90", "N", "D", "PYI", "PT", "RET", "SIM", "ARG", "ERA"]
ignore = [
"B008",
"D100",
"D101",
"D102",
"D103",
"D104",
"D105",
"D106",
"D107",
"D203",
"D213",
"COM812"
]
[lint.per-file-ignores]
"test_*.py" = ["S101"]
"tests.py" = ["S101"]
"tests_*.py" = ["S101"]
"*/tests/*" = ["S101"]
"conftest.py" = ["S101"]
"__init__.py" = ["F401", "F403"]