You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the issue with this pre-commit configuration is that if you rely on importing your package in tests where your package is defined in src, then mypy is not aware of the package you locally work on unless there are changes in src. The only workaround I've been able to dig up is to always pass in the files into mypy no matter what (see pre-commit/pre-commit#1519):
the issue with this pre-commit configuration is that if you rely on importing your package in
tests
where your package is defined insrc
, thenmypy
is not aware of the package you locally work on unless there are changes insrc
. The only workaround I've been able to dig up is to always pass in the files intomypy
no matter what (see pre-commit/pre-commit#1519):The text was updated successfully, but these errors were encountered: