-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathruff.toml
66 lines (64 loc) · 859 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
target-version = "py311"
extend-exclude = [
"credit-modeling/sambhavm22", # Written by @sambhav himself
]
[lint]
extend-select = [
"A",
"ARG",
"B",
"BLE",
"C4",
"C90",
"COM",
"E",
"EM",
"F",
"FLY",
"FURB",
"I",
"ICN",
"INP",
"ISC",
"PGH",
"PIE",
"PL",
"PT",
"PTH",
"PYI",
"Q",
"RSE",
"RUF",
"S",
"SIM",
"SLF",
"TC",
"UP",
"W",
"YTT",
]
extend-ignore = [
"B008",
"B905",
"COM812",
"E501",
"E741",
"EM101",
"EM102",
"INP001",
"ISC001",
"N818",
"PGH003",
"PLE1142",
"PLR0913",
"PLR2004",
"S101",
"S301",
]
extend-unfixable = ["B", "F401"]
[lint.per-file-ignores]
"__init__.py" = ["F401", "E402"]
# marimo notebooks
"*_mo.py" = [
"B018", # useless-expression
]