[regression] Files with mixed strict-optional
forget None'able argument (with ParamSpec decorator)
#16246
Labels
strict-optional
forget None'able argument (with ParamSpec decorator)
#16246
Bug Report
I am in the progress of introducing
strict_optional
in my project. Some files havestrict_optional
disabled, others enabled.Updating from mypy 1.5.1 to 1.6.0 caused some false positives when passing
None
tox | None
arguments that are called across module boundaries.To Reproduce
module_a.py
:module_b.py
:Expected Behavior
example_func
should acceptNone
argument.Actual Behavior
Your Environment
--strict
The text was updated successfully, but these errors were encountered: