File tree Expand file tree Collapse file tree 2 files changed +14
-14
lines changed Expand file tree Collapse file tree 2 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -192,3 +192,17 @@ lines-after-imports = 2
192
192
"src/_pytest/_py/**/*.py" = [" B" , " PYI" ]
193
193
"src/_pytest/_version.py" = [" I001" ]
194
194
"testing/python/approx.py" = [" B015" ]
195
+
196
+ [tool .mypy ]
197
+ mypy_path = [" src" ]
198
+ check_untyped_defs = true
199
+ disallow_any_generics = true
200
+ disallow_untyped_defs = true
201
+ ignore_missing_imports = true
202
+ show_error_codes = true
203
+ strict_equality = true
204
+ warn_redundant_casts = true
205
+ warn_return_any = true
206
+ warn_unreachable = true
207
+ warn_unused_configs = true
208
+ no_implicit_reexport = true
Original file line number Diff line number Diff line change @@ -89,17 +89,3 @@ ignore =
89
89
90
90
[devpi:upload]
91
91
formats = sdist.tgz,bdist_wheel
92
-
93
- [mypy]
94
- mypy_path = src
95
- check_untyped_defs = True
96
- disallow_any_generics = True
97
- disallow_untyped_defs = True
98
- ignore_missing_imports = True
99
- show_error_codes = True
100
- strict_equality = True
101
- warn_redundant_casts = True
102
- warn_return_any = True
103
- warn_unreachable = True
104
- warn_unused_configs = True
105
- no_implicit_reexport = True
You can’t perform that action at this time.
0 commit comments