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
Abjad includes extensive typehints that can be read by typecheckers like mypy.
Users of Abjad 3.7 (and earlier) have to tell mypy where Abjad is installed by setting the MYPYPATH environment variable. But this is silly because mypy already knows the location installed packages, including Abjad.
Including an (empty) py.typed file in Abjad's source directory fixes this. And Abjad 3.8 users will no longer need to set MYPYPATH to use mypy with Abjad.
The text was updated successfully, but these errors were encountered:
Abjad includes extensive typehints that can be read by typecheckers like mypy.
Users of Abjad 3.7 (and earlier) have to tell mypy where Abjad is installed by setting the
MYPYPATH
environment variable. But this is silly because mypy already knows the location installed packages, including Abjad.Including an (empty)
py.typed
file in Abjad's source directory fixes this. And Abjad 3.8 users will no longer need to setMYPYPATH
to use mypy with Abjad.The text was updated successfully, but these errors were encountered: