-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathruff.toml
More file actions
39 lines (37 loc) · 1.21 KB
/
ruff.toml
File metadata and controls
39 lines (37 loc) · 1.21 KB
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
# https://docs.astral.sh/ruff/settings/#required-version
required-version = "0.15.1"
# https://docs.astral.sh/ruff/settings/#target-version
target-version = "py310"
# https://docs.astral.sh/ruff/settings/#output-format
output-format = "full"
# https://docs.astral.sh/ruff/settings/#preview
preview = false
# https://docs.astral.sh/ruff/settings/#line-length
line-length = 120
[lint]
# https://docs.astral.sh/ruff/linter/#rule-selection
# https://docs.astral.sh/ruff/settings/#lint_select
select = ["ALL"]
# https://docs.astral.sh/ruff/settings/#lint_fixable
fixable = ["ALL"]
# https://docs.astral.sh/ruff/settings/#lint_ignore
ignore = [
# https://docs.astral.sh/ruff/rules/#pydocstyle-d
"D",
# https://github.com/astral-sh/ruff/blob/0.15.1/docs/formatter.md#conflicting-lint-rules (w/ formatter)
# https://docs.astral.sh/ruff/settings/#lint_flake8-implicit-str-concat_allow-multiline
"W191",
"E111",
"E114",
"E117",
"Q000",
"Q001",
"Q002",
"Q003",
"COM812",
"COM819",
]
# https://docs.astral.sh/ruff/settings/#lint_isort_combine-as-imports
# https://github.com/astral-sh/ruff/blob/0.15.1/docs/formatter.md#conflicting-lint-rules (w/ formatter)
[lint.isort]
combine-as-imports = true