-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy pathruff.toml
More file actions
52 lines (47 loc) · 963 Bytes
/
ruff.toml
File metadata and controls
52 lines (47 loc) · 963 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
40
41
42
43
44
45
46
47
48
49
50
51
52
target-version = "py310"
line-length = 120
[format]
quote-style = "single"
exclude = []
[lint]
select = [
"B", # possible bugs
"BLE", # broad exception
"C4", # comprehensions
"DTZ", # work with datetimes
"E", # code style
"ERA", # commented code
"EXE", # check executables
"F", # misc
"FA", # future annotations
"FBT", # booleans
"FURB", # modernizing
"G", # logging format
"I", # imports
"ICN", # import conventions
"INT", # i18n
"ISC", # stringc concat
"PERF", # perfomance
"PIE", # misc
"PLC", # misc
"PLE", # misc err
"PT", # pytest
"PTH", # pathlib
"PYI", # typing
"RSE", # exc raise
"RUF", # misc
"SLOT", # slots related
"TC", # typing
"UP", # py upgrade
]
ignore = [
"F403",
"F405",
]
[lint.extend-per-file-ignores]
"src/vininfo/utils.py" = [
"PLC0415",
]
"tests/test_module.py" = [
"PLC0415",
]