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

Apply ruff/flake8-simplify rules (SIM) #1715

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Commits on Oct 12, 2024

  1. Apply ruff/flake8-simplify rule SIM114

    SIM114 Combine `if` branches using logical `or` operator
    DimitriPapadopoulos committed Oct 12, 2024
    Configuration menu
    Copy the full SHA
    f8737b2 View commit details
    Browse the repository at this point in the history
  2. Apply ruff/flake8-simplify rule SIM118

    SIM118 Use `key not in dict` instead of `key not in dict.keys()`
    DimitriPapadopoulos committed Oct 12, 2024
    Configuration menu
    Copy the full SHA
    5f3eeeb View commit details
    Browse the repository at this point in the history
  3. Apply ruff/flake8-simplify rule SIM300

    SIM300 Yoda condition detected
    DimitriPapadopoulos committed Oct 12, 2024
    Configuration menu
    Copy the full SHA
    1a161f1 View commit details
    Browse the repository at this point in the history
  4. Apply ruff/flake8-simplify rule SIM910

    SIM910 Use `kwargs.get(...)` instead of `kwargs.get(..., None)`
    DimitriPapadopoulos committed Oct 12, 2024
    Configuration menu
    Copy the full SHA
    3f8f1ce View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2f57e2e View commit details
    Browse the repository at this point in the history