-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathpyproject.toml
More file actions
52 lines (47 loc) · 1.43 KB
/
pyproject.toml
File metadata and controls
52 lines (47 loc) · 1.43 KB
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
[tool.ty.rules]
# ty is Astral's Python type checker (fast, Rust-based)
# Add per-rule overrides here as needed, e.g.:
# invalid-return-type = "warn"
# ---------------------------------------------------------------------------
# Pylint — migrated from pylint3.cfg
# ---------------------------------------------------------------------------
[tool.pylint.main]
persistent = false
[tool.pylint.messages_control]
disable = [
"bad-indentation",
"consider-using-f-string",
"fixme",
"inconsistent-return-statements",
"len-as-condition",
"locally-disabled",
"missing-docstring",
"no-else-break",
"no-else-continue",
"no-else-raise",
"no-else-return",
"similarities",
"too-few-public-methods",
"too-many-ancestors",
"too-many-arguments",
"too-many-boolean-expressions",
"too-many-branches",
"too-many-instance-attributes",
"too-many-lines",
"too-many-locals",
"too-many-nested-blocks",
"too-many-positional-arguments",
"too-many-public-methods",
"too-many-return-statements",
"too-many-statements",
"unused-wildcard-import",
"wildcard-import",
]
[tool.pylint.reports]
output-format = "text"
reports = true
[tool.pylint.basic]
class-rgx = "([A-Z]+|[A-Z][a-z]+)(_[A-Z]+|[A-Z][a-z])*"
good-names = ["i", "j", "k", "c", "f", "fd", "zf", "n", "ap", "rv", "mh", "sm", "wp", "ok", "cc", "nc", "ct", "nt", "cu", "vc"]
[tool.pylint.format]
max-line-length = 88