Skip to content

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

Merged
tony merged 3 commits into
masterfrom
ruff-all-v0.3.4-pass
Mar 24, 2024
Merged

Linting: Aggressive ruff pass (ruff v0.3.4)#33
tony merged 3 commits into
masterfrom
ruff-all-v0.3.4-pass

Conversation

@tony

@tony tony commented Mar 24, 2024

Copy link
Copy Markdown
Member
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 tony closed this Mar 24, 2024
@tony tony force-pushed the ruff-all-v0.3.4-pass branch from 9afc249 to ddc0dab Compare March 24, 2024 15:53
@tony tony reopened this Mar 24, 2024
@codecov-commenter

codecov-commenter commented Mar 24, 2024

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 50.00000% with 5 lines in your changes are missing coverage. Please review.

Project coverage is 58.96%. Comparing base (ddc0dab) to head (097a7ee).

Files Patch % Lines
src/doctest_docutils.py 20.00% 4 Missing ⚠️
docs/conf.py 0.00% 1 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #33      +/-   ##
==========================================
- Coverage   59.02%   58.96%   -0.07%     
==========================================
  Files          10       10              
  Lines         659      658       -1     
==========================================
- Hits          389      388       -1     
  Misses        270      270              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

tony added 3 commits March 24, 2024 12:06
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 tony force-pushed the ruff-all-v0.3.4-pass branch from 63d0855 to 097a7ee Compare March 24, 2024 17:07
@tony tony merged commit 85ae469 into master Mar 24, 2024
@tony tony deleted the ruff-all-v0.3.4-pass branch March 24, 2024 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants