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

Complete typing of noxfile.py #9411

Merged
merged 1 commit into from
Feb 20, 2021
Merged

Complete typing of noxfile.py #9411

merged 1 commit into from
Feb 20, 2021

Commits on Feb 19, 2021

  1. Complete typing of noxfile.py

    Allows removing a "mypy: disallow-untyped-defs=False" comment.
    
    To workaround a mypy bug, map(os.path.basename, distribution_files) was
    changed to use a generator expression. See:
    python/mypy#9864
    
    To verify correct usage of the nox API, it is now a dependency during
    pre-commit mypy runs.
    
    The mypy configuration "follow_imports = silent" allowed erroneous code
    to pass, so it has been removed. Now, all imports must be available
    during type.
    jdufresne committed Feb 19, 2021
    Configuration menu
    Copy the full SHA
    7ffd0ca View commit details
    Browse the repository at this point in the history