Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e19c527

Browse files
committed
stricter conf
1 parent b804bf7 commit e19c527

1 file changed

Lines changed: 20 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,26 @@ enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
125125
#warn_unreachable = true
126126
#strict = true
127127

128+
[[tool.mypy.overrides]]
129+
module = [
130+
"IPython.core.events",
131+
]
132+
# Strictest configuration, everything turned up to the max
133+
check_untyped_defs = true
134+
disallow_incomplete_defs = true
135+
disallow_untyped_calls = true
136+
disallow_untyped_decorators = true
137+
disallow_untyped_defs = true
138+
disallow_any_generics = true
139+
disallow_subclassing_any = true
140+
warn_return_any = true
141+
warn_unused_ignores = true
142+
warn_unreachable = true
143+
strict_equality = true
144+
no_implicit_optional = true
145+
ignore_errors = false
146+
ignore_missing_imports = false
147+
128148
[[tool.mypy.overrides]]
129149
module = [
130150
"IPython.core.magic",
@@ -141,7 +161,6 @@ ignore_missing_imports = false
141161
[[tool.mypy.overrides]]
142162
module = [
143163
"IPython.core.crashhandler",
144-
"IPython.core.events",
145164
"IPython.utils.text",
146165
"IPython.utils.PyColorize",
147166
"IPython.utils.sentinel",

0 commit comments

Comments
 (0)