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

STY: Apply ruff/pycodestyle rules (E) #3689

Merged
merged 5 commits into from
Oct 7, 2024
Merged

Commits on Oct 6, 2024

  1. STY: Apply ruff/pycodestyle rule E401

    E401 Multiple imports on one line
    DimitriPapadopoulos committed Oct 6, 2024
    Configuration menu
    Copy the full SHA
    de3a4ed View commit details
    Browse the repository at this point in the history
  2. STY: Apply ruff/pycodestyle rule E712

    E712 Avoid equality comparisons to `False`;
         use `if not trait.__dict__[key]:` for false checks
    DimitriPapadopoulos committed Oct 6, 2024
    Configuration menu
    Copy the full SHA
    ccff8d9 View commit details
    Browse the repository at this point in the history
  3. STY: Apply ruff/pycodestyle rule E714

    E714 Test for object identity should be `is not`
    DimitriPapadopoulos committed Oct 6, 2024
    Configuration menu
    Copy the full SHA
    5f6d492 View commit details
    Browse the repository at this point in the history
  4. STY: Apply ruff/pycodestyle rule E721

    E721 Use `is` and `is not` for type comparisons,
         or `isinstance()` for isinstance checks
    DimitriPapadopoulos committed Oct 6, 2024
    Configuration menu
    Copy the full SHA
    3bc9c58 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2024

  1. STY: Further simplification

    Co-authored-by: Chris Markiewicz <[email protected]>
    DimitriPapadopoulos and effigies authored Oct 7, 2024
    Configuration menu
    Copy the full SHA
    e84ada2 View commit details
    Browse the repository at this point in the history