tmux-python / tmuxp

🖥️ Session manager for tmux, build on libtmux.
https://tmuxp.git-pull.com/
MIT License
4.04k stars 231 forks source link

Linting: Aggressive ruff pass (ruff v0.3.4) #922

Closed tony closed 5 months ago

tony commented 5 months ago

Changes

Command

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

Automated fixes

Fixed 184 errors:

codecov[bot] commented 5 months ago

Codecov Report

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

Project coverage is 70.28%. Comparing base (5a4bbb6) to head (53f41e2).

Files Patch % Lines
docs/_ext/aafig.py 9.09% 10 Missing :warning:
src/tmuxp/util.py 16.66% 5 Missing :warning:
src/tmuxp/workspace/builder.py 68.75% 3 Missing and 2 partials :warning:
src/tmuxp/_internal/config_reader.py 20.00% 2 Missing and 2 partials :warning:
src/tmuxp/cli/shell.py 50.00% 3 Missing and 1 partial :warning:
src/tmuxp/shell.py 0.00% 0 Missing and 3 partials :warning:
src/tmuxp/types.py 33.33% 1 Missing and 1 partial :warning:
src/tmuxp/workspace/freezer.py 0.00% 2 Missing :warning:
docs/conf.py 0.00% 1 Missing :warning:
src/tmuxp/cli/convert.py 75.00% 0 Missing and 1 partial :warning:
... and 2 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #922 +/- ## ========================================== - Coverage 70.39% 70.28% -0.12% ========================================== Files 26 26 Lines 1956 1955 -1 Branches 409 409 ========================================== - Hits 1377 1374 -3 - Misses 453 454 +1 - Partials 126 127 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.