-
-
Notifications
You must be signed in to change notification settings - Fork 689
Expand file tree
/
Copy path.ruff.toml
More file actions
32 lines (27 loc) · 726 Bytes
/
.ruff.toml
File metadata and controls
32 lines (27 loc) · 726 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
exclude = [
"test",
]
respect-gitignore = true
line-length = 120
[lint]
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
#select = ["E4", "E7", "E9", "F"]
ignore = [
# Whitespaces:
"E201", "E202", "E203", "E211", "E221", "E222", "E225", "E226", "E228", "E231", "E241", "E251",
# Comments:
"E261", "E262", "E265", "E266",
# Blank lines:
"E301", "E302", "E303", "E305", "E306",
# Imports:
"E401", "E402",
# Other:
"E701", "E713", "E721", "E731", "E741", "E275",
"F401", "F403", "C901", "W391"
]
[format]
# Like Black, indent with spaces, rather than tabs.
indent-style = "space"
# Like Black, automatically detect the appropriate line ending.
line-ending = "auto"
quote-style = "single"