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) #310

Merged
merged 3 commits into from Apr 1, 2024
Merged

Conversation

tony
Copy link
Member

@tony tony commented Mar 24, 2024

ruff check --select ALL . --fix --unsafe-fixes --preview --show-fixes; ruff format .

Fixed 9 errors:

  • docs/conf.py:
    1 × RET505 (superfluous-else-return)
  • src/cihai_cli/cli.py:
    1 × RET505 (superfluous-else-return)
  • tests/conftest.py:
    6 × PT001 (pytest-fixture-incorrect-parentheses-style)
    1 × PT003 (pytest-extraneous-scope-function)'

ruff check --select ALL . --fix --unsafe-fixes --preview --show-fixes; ruff format .

Fixed 9 errors:
- docs/conf.py:
    1 × RET505 (superfluous-else-return)
- src/cihai_cli/cli.py:
    1 × RET505 (superfluous-else-return)
- tests/conftest.py:
    6 × PT001 (pytest-fixture-incorrect-parentheses-style)
    1 × PT003 (pytest-extraneous-scope-function)
Copy link

codecov bot commented Mar 30, 2024

Codecov Report

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

Project coverage is 75.37%. Comparing base (4c28ff4) to head (39e7360).

❗ Current head 39e7360 differs from pull request most recent head 83495f2. Consider uploading reports for the commit 83495f2 to get more accurate results

Files Patch % Lines
src/cihai_cli/cli.py 44.44% 5 Missing ⚠️
docs/conf.py 0.00% 1 Missing ⚠️
tests/test_cli.py 80.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #310      +/-   ##
==========================================
+ Coverage   75.09%   75.37%   +0.28%     
==========================================
  Files           5        5              
  Lines         269      268       -1     
==========================================
  Hits          202      202              
+ Misses         67       66       -1     

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

@tony tony merged commit 4d7a22e into master Apr 1, 2024
7 checks passed
@tony tony deleted the ruff-all-v0.3.4-pass branch April 1, 2024 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant