File tree 1 file changed +19
-3
lines changed
1 file changed +19
-3
lines changed Original file line number Diff line number Diff line change @@ -176,9 +176,6 @@ fixture-parentheses = false
176
176
python_version = " 3.9"
177
177
files = [" src/trio/" , " docs/source/*.py" ]
178
178
179
- # Be flexible about dependencies that don't have stubs yet (like pytest)
180
- ignore_missing_imports = true
181
-
182
179
# Be strict about use of Mypy
183
180
local_partial_types = true
184
181
warn_unused_ignores = true
@@ -198,6 +195,25 @@ disallow_untyped_decorators = true
198
195
disallow_untyped_defs = true
199
196
check_untyped_defs = true
200
197
198
+ # Below are the originally missing strictness settings:
199
+ disallow_any_expr = true
200
+
201
+ enable_error_code =
202
+ ignore-without-code
203
+
204
+ extra_checks = true
205
+
206
+ ignore_missing_imports = false
207
+
208
+ no_implicit_reexport = true
209
+
210
+ # `strict` will pick up any future strictness-related settings:
211
+ strict = true
212
+ strict_equality = true
213
+ strict_optional = true
214
+
215
+ warn_no_return = true
216
+
201
217
[tool .pyright ]
202
218
pythonVersion = " 3.9"
203
219
reportUnnecessaryTypeIgnoreComment = true
You can’t perform that action at this time.
0 commit comments