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

Remove redundant parentheses in case statement if guards #4214

Merged
merged 3 commits into from Feb 7, 2024

Commits on Feb 6, 2024

  1. Remove redundant parentheses in case statement if guards:

    A follow up to psf#4024 but for `if` guards in `case` statements. I noticed this
    when psf#4024 was made stable, and noticed I had some code that had extra parens
    around the `if` guard.
    
    There might be some edge cases I am not thinking of, but all tests are passing.
    I put these new changes under the `remove_redundant_guard_parens` preview name.
    dosisod committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    d22846c View commit details
    Browse the repository at this point in the history
  2. Rebuild black.schema.json

    dosisod committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    568b2e9 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2024

  1. Add more tests with comments

    dosisod committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    d8c482b View commit details
    Browse the repository at this point in the history