Skip to content

Toughen ruff linting - #436

Merged
tony merged 8 commits into
masterfrom
ruff-toughen
Feb 7, 2024
Merged

Toughen ruff linting#436
tony merged 8 commits into
masterfrom
ruff-toughen

Conversation

@tony

@tony tony commented Feb 7, 2024

Copy link
Copy Markdown
Member

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.
@codecov

codecov Bot commented Feb 7, 2024

Copy link
Copy Markdown

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
@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