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

Linting: Aggressive ruff pass (ruff v0.3.4) #33

Merged
merged 3 commits into from
Mar 24, 2024
Merged

Commits on Mar 24, 2024

  1. Configuration menu
    Copy the full SHA
    3ff8d6b View commit details
    Browse the repository at this point in the history
  2. refactor!(ruff): Run all automated fixes as of ruff 0.3.4

    ruff check --select ALL . --fix --unsafe-fixes --preview --show-fixes; ruff format .
    
    Fixed 14 errors:
    - docs/conf.py:
        1 × RET505 (superfluous-else-return)
    - src/doctest_docutils.py:
        2 × ANN204 (missing-return-type-special-method)
        1 × T201 (print)
        1 × RUF100 (unused-noqa)
        1 × RSE102 (unnecessary-paren-on-raise-exception)
        1 × PIE810 (multiple-starts-ends-with)
        1 × PLR6201 (literal-membership)
    - src/linkify_issues.py:
        1 × RET504 (unnecessary-assign)
    - src/pytest_doctest_docutils.py:
        1 × PLR6201 (literal-membership)
    - tests/conftest.py:
        1 × PT003 (pytest-extraneous-scope-function)
        1 × PT022 (pytest-useless-yield-fixture)
    tony committed Mar 24, 2024
    Configuration menu
    Copy the full SHA
    18f3e52 View commit details
    Browse the repository at this point in the history
  3. docs(CHANGES): Note ruff pass

    tony committed Mar 24, 2024
    Configuration menu
    Copy the full SHA
    097a7ee View commit details
    Browse the repository at this point in the history