Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add config and an optional dependency for type checking with mypy #275

Merged
merged 1 commit into from
May 8, 2024

Commits on May 7, 2024

  1. Add config and an optional dependency for type checking with mypy

    This doesn't actually do a whole lot for existing code, because it's configured
    not to check the bodies of functions that don't have typed declarations.
    Meaningful checking can be introduced progressively from here; I started by
    configuring the pitch tracker modules to require type defs. Individual
    functions can also be checked, by adding types to their declarations.
    
    Unfortunately pyqtProperty isn't type-checkable and does produce errors, so
    there's a fair amount of error-suppression noise for it :(
    celeste-sinead committed May 7, 2024
    Configuration menu
    Copy the full SHA
    1c1be14 View commit details
    Browse the repository at this point in the history