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 assorted repo-review rules #1063

Merged
merged 6 commits into from
Aug 6, 2024

Commits on Aug 4, 2024

  1. Apply repo-review rules PP306, PP307, PP308

    PP306: Specifies strict config
    `--strict-config` should be in `addopts = [...]`. This forces
    an error if a config setting is misspelled.
    
    PP307: Specifies strict markers
    `--strict-markers` should be in `addopts = [...]`. This forces
    all markers to be specified in config, avoiding misspellings.
    
    PP308: Specifies useful pytest summary
    An explicit summary flag like `-ra` should be in `addopts = [...]`
    (print summary of all fails/errors).
    DimitriPapadopoulos committed Aug 4, 2024
    Configuration menu
    Copy the full SHA
    6f53d67 View commit details
    Browse the repository at this point in the history
  2. Apply repo-review rule PC191

    PC191: Ruff show fixes if fixes enabled
    If `--fix` is present, `--show-fixes` must be too.
    DimitriPapadopoulos committed Aug 4, 2024
    Configuration menu
    Copy the full SHA
    b3db2c5 View commit details
    Browse the repository at this point in the history
  3. Apply repo-review rule RF003

    RF003: src directory specified if used
    Must specify `src` directory if it exists.
    DimitriPapadopoulos committed Aug 4, 2024
    Configuration menu
    Copy the full SHA
    ff50699 View commit details
    Browse the repository at this point in the history
  4. Apply repo-review rule RF103

    RF103: pyupgrade must be selected
    Must select the pyupgrade `UP` checks.
    DimitriPapadopoulos committed Aug 4, 2024
    Configuration menu
    Copy the full SHA
    532554f View commit details
    Browse the repository at this point in the history
  5. Apply ruff rules

    DimitriPapadopoulos committed Aug 4, 2024
    Configuration menu
    Copy the full SHA
    715ef95 View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2024

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