-
Notifications
You must be signed in to change notification settings - Fork 227
/
ruff.toml
77 lines (70 loc) · 1.05 KB
/
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
73
74
75
76
77
line-length = 80
preview = true
target-version = "py39"
[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",
"DOC402",
"DOC501",
"FURB180",
"ISC001",
"PLR0904",
"PLR0911",
"PLR0912",
"PLR0913",
"PLR0914",
"PLR0915",
"PLR0916",
"PLR0917",
"PLR1702",
"RUF001",
"RUF002",
"RUF003",
"S110",
"S112",
"S308",
"S311",
"S404",
"SIM105",
"TD002",
"TD003",
"TRY400",
]
select = ["ALL"]
unfixable = ["RUF027", "T"]
[lint.flake8-self]
ignore-names = ["_name_", "_value_"]
[lint.flake8-tidy-imports]
ban-relative-imports = "all"
[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"