-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
59 lines (52 loc) · 1.31 KB
/
pyproject.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
[tool.pyright]
useLibraryCodeForTypes = false
typeCheckingMode = "strict"
reportCallInDefaultInitializer = "error"
reportImplicitStringConcatenation = "error"
reportMissingSuperCall = "none"
reportPropertyTypeMismatch = "error"
reportUninitializedInstanceVariable = "error"
reportUnnecessaryTypeIgnoreComment = "error"
reportUnusedCallResult = "none"
reportUnknownVariableType = "none"
reportUnknownMemberType = "none"
reportUnknownArgumentType = "none"
[tool.mypy]
strict = true
show_error_codes = true
warn_unused_configs = true
warn_unreachable = true
show_column_numbers = true
disallow_untyped_defs = false
disallow_incomplete_defs = false
warn_return_any = false
enable_incomplete_feature = ["NewGenericSyntax"]
[tool.pylint."messages control"]
disable = [
# Convention
"missing-docstring",
"invalid-name",
"multiple-statements",
# Refactor
"trailing-newlines",
"no-else-return",
"too-many-locals",
"too-many-arguments",
"too-many-return-statements",
"too-many-branches",
"too-few-public-methods",
# Error
"no-member",
"import-error",
# Warning
"logging-format-interpolation",
"broad-except",
"logging-fstring-interpolation",
"global-statement"
]
enable = [
# Information
"useless-suppression"
]
[tool.pylint.format]
max-line-length = 120