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

Switch type comparisons from == to is, and upgrade flake8, in preparation for Python 3.12 #2857

Merged
merged 1 commit into from
Aug 11, 2023

Commits on Aug 10, 2023

  1. Upgrade flake8 and subsequent fixes, in preparation for Python 3.12

    Upcoming Python 3.12 (at least in python 3.12-rc1) requires a newer version
    of flake8 as flake8 6.0.0 gets confused by things happening inside format
    strings with Python 3.12-rc1.
    
    This PR makes that upgrade.
    
    Flake8 6.1.0 introduces a new rule to use is-equality, rather than
    ==-equality, when comparing types, and so this PR fixes violations of
    that rule too. In theory this shouldn't change behaviour.
    benclifford committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    b287e48 View commit details
    Browse the repository at this point in the history