-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathruff.toml
More file actions
39 lines (35 loc) · 868 Bytes
/
ruff.toml
File metadata and controls
39 lines (35 loc) · 868 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
target-version = "py312"
line-length = 130
[lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
]
ignore = [
"E741",
"E501", # line too long
"E402", # Module level import not at top of file
"E731", # Do not assign a `lambda` expression, use a `def`"
"F841", # [*] Local variable `e` is assigned to but never used"
"E722", # Do not use bare `except`"
"F403", # `from .misc_string import *` used; unable to detect undefined names"
"F405", # `DtoX` may be undefined, or defined from star imports"
]
extend-select = ["I"]
[lint.isort]
force-single-line = true
split-on-trailing-comma = true
combine-as-imports = false
force-wrap-aliases = false
case-sensitive = false
# sigil e9b1e0180635c6f48e7da2ff048a6368