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 some refurb suggestions #763

Merged
merged 7 commits into from Jan 12, 2024
Merged

Commits on Dec 31, 2023

  1. Apply refub suggestion

    [FURB108]: Replace `x == y or x == z` with `x in (y, z)`
    DimitriPapadopoulos committed Dec 31, 2023
    Configuration menu
    Copy the full SHA
    db31b01 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2024

  1. Apply refurb suggestion

    [FURB110]: Replace `x if x else y` with `x or y`
    DimitriPapadopoulos committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    fd0c181 View commit details
    Browse the repository at this point in the history
  2. Apply refurb suggestion

    [FURB142]: Replace `for x in y: s.add(...)` with `s.update(... for x in y)`
    DimitriPapadopoulos committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    3531306 View commit details
    Browse the repository at this point in the history
  3. Apply refurb suggestion

    [FURB179]: Replace `itertools.chain(*x)` with `itertools.chain.from_iterable(x)`
    DimitriPapadopoulos committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    5d58c68 View commit details
    Browse the repository at this point in the history
  4. Update src/packaging/specifiers.py

    Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com>
    DimitriPapadopoulos and pradyunsg committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    f279fe3 View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2024

  1. Revert attempt to simplify frozenset()

    The result is less readable.
    DimitriPapadopoulos committed Jan 8, 2024
    Configuration menu
    Copy the full SHA
    b17e8ef View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2024

  1. Configuration menu
    Copy the full SHA
    1fde2b0 View commit details
    Browse the repository at this point in the history