Skip to content

Commit d054c3c

Browse files
CoMPaTechbouwew
authored andcommitted
mypy ini via pyproject.toml - happy flow
1 parent c7a0dda commit d054c3c

File tree

2 files changed

+31
-24
lines changed

2 files changed

+31
-24
lines changed

mypy.ini

Lines changed: 0 additions & 24 deletions
This file was deleted.

pyproject.toml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,3 +129,34 @@ norecursedirs = [
129129
".git",
130130
"testing_config",
131131
]
132+
133+
[tool.mypy]
134+
python_version = 3.9
135+
show_error_codes = true
136+
follow_imports = "silent"
137+
ignore_missing_imports = true
138+
strict_equality = true
139+
warn_incomplete_stub = true
140+
warn_redundant_casts = true
141+
warn_unused_configs = true
142+
warn_unused_ignores = true
143+
enable_error_code = "ignore-without-code"
144+
check_untyped_defs = true
145+
disallow_incomplete_defs = true
146+
disallow_subclassing_any = true
147+
disallow_untyped_calls = true
148+
disallow_untyped_decorators = true
149+
disallow_untyped_defs = true
150+
no_implicit_optional = true
151+
warn_return_any = true
152+
warn_unreachable = true
153+
exclude = [
154+
"controller.py",
155+
"stick.py",
156+
"parser.py",
157+
"nodes",
158+
"messages",
159+
"connections",
160+
"helper.py",
161+
"smile.py",
162+
]

0 commit comments

Comments
 (0)