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 latest release did include a feature to skip type checking blocks. (Thanks for it!)
Currently it works only if it finds the TYPE_CHECKING block in combination with from __future__ import annotations.
But as far as my understanding goes it is also perfectly fine to not have the annotations module imported but annotate them as a string like this:
The latest release did include a feature to skip type checking blocks. (Thanks for it!)
Currently it works only if it finds the
TYPE_CHECKING
block in combination withfrom __future__ import annotations
.But as far as my understanding goes it is also perfectly fine to not have the annotations module imported but annotate them as a string like this:
deptry currently doesn't respect those cases.
The text was updated successfully, but these errors were encountered: