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 more ruff rules #633

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Commits on Oct 31, 2024

  1. Apply ruff/Perflint rule PERF401

    PERF401 Use a list comprehension to create a transformed list
    DimitriPapadopoulos committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    971a56a View commit details
    Browse the repository at this point in the history
  2. Apply ruff/flake8-pie rule PIE810

    PIE810 Call `endswith` once with a `tuple`
    DimitriPapadopoulos committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    cbb0258 View commit details
    Browse the repository at this point in the history
  3. Apply ruff/Pylint rule PLC0208

    PLC0208 Use a sequence type instead of a `set` when iterating over values
    DimitriPapadopoulos committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    1f7b13b View commit details
    Browse the repository at this point in the history
  4. Apply ruff/flake8-type-checking rule TCH003

    TCH003 Move standard library import into a type-checking block
    DimitriPapadopoulos committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    f63006b View commit details
    Browse the repository at this point in the history
  5. Apply ruff/flynt rule FLY002

    FLY002 Consider f-string instead of string join
    DimitriPapadopoulos committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    f7c740b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c95b95b View commit details
    Browse the repository at this point in the history