-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpyproject.toml
56 lines (48 loc) · 1.39 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
[tool.black]
line-length = 120
[tool.isort]
line_length = 120
force_single_line = false
lexicographical = true
order_by_type = false
include_trailing_comma = true
multi_line_output = 3
force_grid_wrap = 0
use_parentheses = true
[tool.mypy]
python_version = "3.10"
ignore_missing_imports = true
disallow_incomplete_defs = true
no_implicit_optional = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
warn_unused_ignores = true
# strict = true
no_implicit_reexport = true
strict_equality = true
pretty = true
plugins = [
"pydantic.mypy"
]
follow_imports = "silent"
disallow_any_generics = true
check_untyped_defs = true
[tool.pydantic-mypy]
init_forbid_extra = true
init_typed = true
warn_required_dynamic_aliases = true
warn_untyped_fields = true
[tool.pylint.MASTER]
#ignore="node_modules,static"
jobs=0
[tool.pylint."MESSAGES CONTROL"]
disable=[
"logging-fstring-interpolation", # not using fstrings in logging calls looks awfull, and would only be a small permance optimization
"missing-module-docstring", # too much work
"missing-class-docstring", # too much work
"line-too-long", # we have another hook for this
"wrong-import-position", # we have another hook for this
"no-member", # mypy does this job with less false positives
"fixme", # prevents users from committing things with a TODO in comments. Having more frequent commits is desirable
]