forked from Arcticons-Team/Arcticons-Linux
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathruff.toml
36 lines (32 loc) · 903 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
31
32
33
34
35
36
required-version = ">=0.6.0"
output-format = "concise"
target-version = "py312"
[lint]
select = ["ALL"]
ignore = [
"CPY001", # Missing copyright notice at top of file
"D202", # No blank lines allowed after function docstring
"D203", # 1 blank line required before class docstring
"D213", # Multi-line docstring summary should start at the second line
"D406", # Section name should end with a newline
"D407", # Section name underlining
"DOC", # pydoclint
"E501", # line too long
"T201", # print found
# May conflict with the formatter, https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
"W191",
"E111",
"E114",
"E117",
"D206",
"D300",
"Q",
"COM812",
"COM819",
"ISC001",
]
preview = true
[lint.isort]
force-sort-within-sections = true
combine-as-imports = true
split-on-trailing-comma = false