forked from monosans/nitro-generator-checker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ruff.toml
68 lines (62 loc) · 941 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 = 80
preview = true
target-version = "py38"
[format]
docstring-code-format = true
line-ending = "lf"
skip-magic-trailing-comma = true
[lint]
ignore = [
"ANN401",
"ASYNC109",
"BLE001",
"C901",
"COM812",
"CPY001",
"D100",
"D101",
"D102",
"D103",
"D104",
"D105",
"D106",
"D107",
"D415",
"D417",
"DJ008",
"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"