-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
76 lines (69 loc) · 1.66 KB
/
Copy pathpyproject.toml
File metadata and controls
76 lines (69 loc) · 1.66 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.mypy]
plugins = ["pydantic.mypy"]
follow_imports = "normal"
warn_redundant_casts = true
warn_unused_ignores = true
check_untyped_defs = true
no_implicit_reexport = true
disable_error_code = ['assignment', 'call-arg', 'misc']
[[tool.mypy.overrides]]
ignore_missing_imports = true
module = [
"_pytest.*",
"_string",
"astroid.*",
# `colorama` ignore is needed for Windows environment
"colorama",
"contributors_txt",
"coverage",
"dill",
"enchant.*",
"git.*",
"mccabe",
"pytest_benchmark.*",
"pytest",
"sphinx.*",
]
[tool.pydantic-mypy]
init_forbid_extra = true
init_typed = true
warn_required_dynamic_aliases = true
[tool.black]
line-length = 120
[tool.pylint]
max-line-length = 120
disable = [
'raw-checker-failed',
'bad-inline-option',
'locally-disabled',
'file-ignored',
'suppressed-message',
'useless-suppression',
'deprecated-pragma',
'use-implicit-booleaness-not-comparison-to-string',
'use-implicit-booleaness-not-comparison-to-zero',
'use-symbolic-message-instead',
'missing-module-docstring',
'missing-class-docstring',
'missing-function-docstring',
'invalid-name',
'too-many-locals',
'too-many-arguments',
'too-many-instance-attributes',
'too-many-public-methods',
'too-many-lines',
'too-many-statements',
'too-many-branches',
'too-many-nested-blocks',
'too-many-boolean-expressions',
'too-many-function-args',
'too-many-ancestors',
'W0102',
'R0903',
'wrong-import-position',
'arguments-renamed',
]
allow-reexport-from-package = true