-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathruff.toml
More file actions
34 lines (29 loc) · 694 Bytes
/
ruff.toml
File metadata and controls
34 lines (29 loc) · 694 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
target-version = "py312"
line-length = 108
indent-width = 2
respect-gitignore = true
exclude = ["third_party"]
fix = true
show-fixes = true
[lint]
select = [
"E", "F", "W", "I", "N", "UP", "B", "C4", "RUF"
]
ignore = [
"E731", "B905", "C901", "B006",
"N802", "N803", "N806", "N812", "N813", "N815", "N818"
]
[lint.pep8-naming]
ignore-names = ["foo", "bar"]
extend-ignore-names = ["baz"]
classmethod-decorators = ["classmethod"]
staticmethod-decorators = ["staticmethod"]
[format]
quote-style = "double"
line-ending = "lf"
indent-style = "space"
skip-magic-trailing-comma = true
[lint.isort]
force-single-line = false
known-third-party = ["absl", "enchant"]
combine-as-imports = true