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 rough linting #907

Merged
merged 9 commits into from
Feb 7, 2024
Merged

Toughen rough linting #907

merged 9 commits into from
Feb 7, 2024

Conversation

Copy link

codecov bot commented Feb 7, 2024

Codecov Report

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

Comparison is base (019b6f4) 70.71% compared to head (6ee0143) 70.38%.

❗ Current head 6ee0143 differs from pull request most recent head 6e05eab. Consider uploading reports for the commit 6e05eab to get more accurate results

Files Patch % Lines
docs/_ext/aafig.py 0.00% 6 Missing ⚠️
src/tmuxp/_internal/config_reader.py 58.33% 3 Missing and 2 partials ⚠️
conftest.py 33.33% 2 Missing ⚠️
src/tmuxp/cli/freeze.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #907      +/-   ##
==========================================
- Coverage   70.71%   70.38%   -0.34%     
==========================================
  Files          26       26              
  Lines        1950     1955       +5     
  Branches      407      409       +2     
==========================================
- Hits         1379     1376       -3     
- Misses        448      453       +5     
- Partials      123      126       +3     

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

src/tmuxp/_internal/config_reader.py:50:39: EM102 Exception must not use an f-string literal, assign to variable first
src/tmuxp/_internal/config_reader.py:113:39: EM102 Exception must not use an f-string literal, assign to variable first
src/tmuxp/_internal/config_reader.py:188:39: EM102 Exception must not use an f-string literal, assign to variable first
src/tmuxp/plugin.py:191:21: EM103 Exception must not use a `.format()` string directly, assign to variable first
Found 4 errors.
docs/_ext/aafig.py:59:5: A001 Variable `id` is shadowing a Python builtin
docs/_ext/aafig.py:121:9: A001 Variable `format` is shadowing a Python builtin
docs/_ext/aafig.py:137:27: A001 Variable `id` is shadowing a Python builtin
docs/conf.py:59:1: A001 Variable `copyright` is shadowing a Python builtin
src/tmuxp/_internal/config_reader.py:30:15: A002 Argument `format` is shadowing a Python builtin
src/tmuxp/_internal/config_reader.py:54:19: A002 Argument `format` is shadowing a Python builtin
src/tmuxp/_internal/config_reader.py:110:13: A001 Variable `format` is shadowing a Python builtin
src/tmuxp/_internal/config_reader.py:112:13: A001 Variable `format` is shadowing a Python builtin
src/tmuxp/_internal/config_reader.py:164:9: A002 Argument `format` is shadowing a Python builtin
src/tmuxp/_internal/config_reader.py:193:20: A002 Argument `format` is shadowing a Python builtin
Found 10 errors.
@tony tony merged commit 248809d into master Feb 7, 2024
14 checks passed
@tony tony deleted the ruff-toughen branch February 7, 2024 12:14
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.

None yet

1 participant