-
Notifications
You must be signed in to change notification settings - Fork 103
/
.ruff.toml
68 lines (64 loc) · 878 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
67
68
line-length = 79
target-version="py39"
src = ["src"]
include = ["src/**.py", "tests/**.py", "example/**.py"]
exclude = ["docs"]
lint.select = ["ALL"]
lint.ignore = [
"ANN",
"ARG",
"D",
"DTZ",
"TD",
"A002",
"ASYNC230",
"BLE001",
"EM101",
"EM102",
"FA100",
"FBT001",
"FBT002",
"FIX002",
"ISC002",
"ISC003",
"N818",
"PLR0913",
"PLW2901",
"PYI034",
"RET505",
"S311",
"SIM103",
"SIM108",
"SIM114",
"TCH001",
"TCH002",
"TCH003",
"TRY003",
"TRY201",
"TRY400",
"UP007",
"UP038",
]
[lint.per-file-ignores]
"src/aiogram_dialog/tools/**" = [
"S101",
"SLF001",
"PTH",
]
"src/aiogram_dialog/test_tools/**"= [
"S101",
"PTH"
]
"tests/**" = [
"TID252",
"PLR2004",
"S101",
"INP001",
"FBT003",
]
"example/**" = [
"INP001",
"ERA001",
"RUF001",
"PTH",
]