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

Bump dev dependencies, including ruff 0.4.2, f-string tweaks #540

Merged
merged 3 commits into from Apr 27, 2024
Merged

Conversation

tony
Copy link
Member

@tony tony commented Apr 27, 2024

Changes

Dev package updates, including ruff 0.4.2

chore: f-string updates

See also

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

Fixed 37 errors:
- docs/conf.py:
    2 × UP031 (printf-string-formatting)
- src/libtmux/common.py:
    6 × UP031 (printf-string-formatting)
    6 × UP032 (f-string)
    4 × EM103 (dot-format-in-exception)
- src/libtmux/neo.py:
    1 × UP031 (printf-string-formatting)
- src/libtmux/pane.py:
    1 × UP031 (printf-string-formatting)
- src/libtmux/pytest_plugin.py:
    1 × UP031 (printf-string-formatting)
    1 × UP032 (f-string)
- src/libtmux/server.py:
    2 × UP031 (printf-string-formatting)
    2 × UP032 (f-string)
    1 × EM103 (dot-format-in-exception)
- src/libtmux/session.py:
    1 × UP031 (printf-string-formatting)
    1 × UP032 (f-string)
- tests/legacy_api/test_common.py:
    2 × UP031 (printf-string-formatting)
    2 × UP032 (f-string)
- tests/test_common.py:
    2 × UP031 (printf-string-formatting)
    2 × UP032 (f-string)
Copy link

codecov bot commented Apr 27, 2024

Codecov Report

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

Project coverage is 88.51%. Comparing base (959c55b) to head (f8d17a6).

Files Patch % Lines
src/libtmux/common.py 33.33% 6 Missing ⚠️
src/libtmux/server.py 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #540      +/-   ##
==========================================
- Coverage   88.62%   88.51%   -0.12%     
==========================================
  Files          36       36              
  Lines        3922     3927       +5     
  Branches      570      570              
==========================================
  Hits         3476     3476              
- Misses        304      310       +6     
+ Partials      142      141       -1     

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

@tony tony changed the title Ruff 0.4.2 Bump dev dependencies, including ruff 0.4.2, f-string tweaks Apr 27, 2024
@tony tony merged commit 2094c5a into master Apr 27, 2024
25 checks passed
@tony tony deleted the ruff-0.4.2 branch April 27, 2024 12:58
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