File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -197,19 +197,6 @@ including imports or docstrings) has the effect of ignoring the *entire* module.
197
197
198
198
foo.bar()
199
199
200
- Unexpected errors about 'None' and/or 'Optional' types
201
- ------------------------------------------------------
202
-
203
- Starting from mypy 0.600, mypy uses
204
- :ref: `strict optional checking <strict_optional >` by default,
205
- and the ``None `` value is not compatible with non-optional types.
206
- It's easy to switch back to the older behavior where ``None `` was
207
- compatible with arbitrary types (see :ref: `no_strict_optional `).
208
- You can also fall back to this behavior if strict optional
209
- checking would require a large number of ``assert foo is not None ``
210
- checks to be inserted, and you want to minimize the number
211
- of code changes required to get a clean mypy run.
212
-
213
200
Issues with code at runtime
214
201
---------------------------
215
202
You can’t perform that action at this time.
0 commit comments