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

Toughen ruff linting #436

Merged
merged 8 commits into from
Feb 7, 2024
Merged

Toughen ruff linting #436

merged 8 commits into from
Feb 7, 2024

Conversation

tony added 5 commits February 7, 2024 05:38
src/vcspull/_internal/config_reader.py:49:39: EM102 [*] Exception must not use an f-string literal, assign to variable first
src/vcspull/_internal/config_reader.py:112:39: EM102 [*] Exception must not use an f-string literal, assign to variable first
src/vcspull/_internal/config_reader.py:187:39: EM102 [*] Exception must not use an f-string literal, assign to variable first
Found 3 errors.
Copy link

codecov bot commented Feb 7, 2024

Codecov Report

Attention: 9 lines in your changes are missing coverage. Please review.

Comparison is base (f5ff8b7) 84.91% compared to head (6f328a7) 84.32%.

Files Patch % Lines
src/vcspull/_internal/config_reader.py 58.33% 3 Missing and 2 partials ⚠️
conftest.py 0.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #436      +/-   ##
==========================================
- Coverage   84.91%   84.32%   -0.60%     
==========================================
  Files          16       16              
  Lines         935      938       +3     
  Branches      179      182       +3     
==========================================
- Hits          794      791       -3     
- Misses         90       93       +3     
- Partials       51       54       +3     

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

tony added 3 commits February 7, 2024 05:41
conftest.py:87:5: A001 Variable `dir` is shadowing a Python builtin
docs/conf.py:56:1: A001 Variable `copyright` is shadowing a Python builtin
src/vcspull/_internal/config_reader.py:29:15: A002 Argument `format` is shadowing a Python builtin
src/vcspull/_internal/config_reader.py:53:19: A002 Argument `format` is shadowing a Python builtin
src/vcspull/_internal/config_reader.py:109:13: A001 Variable `format` is shadowing a Python builtin
src/vcspull/_internal/config_reader.py:111:13: A001 Variable `format` is shadowing a Python builtin
src/vcspull/_internal/config_reader.py:163:9: A002 Argument `format` is shadowing a Python builtin
src/vcspull/_internal/config_reader.py:192:20: A002 Argument `format` is shadowing a Python builtin
tests/helpers.py:54:25: A002 Argument `format` is shadowing a Python builtin
Found 9 errors.
@tony tony merged commit e6d6d74 into master Feb 7, 2024
9 checks passed
@tony tony deleted the ruff-toughen branch February 7, 2024 12:10
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.

1 participant