forked from monosans/proxy-scraper-checker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ruff.toml
72 lines (66 loc) · 985 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
69
70
71
72
line-length = 80
preview = true
target-version = "py38"
[format]
docstring-code-format = true
line-ending = "lf"
skip-magic-trailing-comma = true
[lint]
ignore = [
"A005",
"ANN401",
"ASYNC109",
"BLE001",
"C901",
"COM812",
"CPY001",
"D100",
"D101",
"D102",
"D103",
"D104",
"D105",
"D106",
"D107",
"D403",
"D415",
"D417",
"DJ008",
"DOC201",
"DOC501",
"FURB180",
"ISC001",
"PLR0904",
"PLR0911",
"PLR0912",
"PLR0913",
"PLR0914",
"PLR0915",
"PLR0916",
"PLR0917",
"PLR1702",
"RUF001",
"RUF002",
"RUF003",
"S110",
"S112",
"S308",
"S311",
"S404",
"SIM105",
"TID252",
"TRY400",
]
select = ["ALL"]
unfixable = ["T"]
[lint.flake8-self]
ignore-names = ["_name_", "_value_"]
[lint.flake8-type-checking]
exempt-modules = []
strict = true
[lint.isort]
combine-as-imports = true
required-imports = ["from __future__ import annotations"]
split-on-trailing-comma = false
[lint.pydocstyle]
convention = "google"