tmux-python / tmuxp

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

py(deps): ruff 0.4.5 -> 0.4.7, other fixes #935

Closed tony closed 3 months ago

tony commented 3 months ago

Changes

ruff: 0.4.5 -> 0.4.7

See also: https://github.com/astral-sh/ruff/blob/v0.4.7/CHANGELOG.md

Ruff nits

src/tmuxp/shell.py:54:29: F401 `IPython.start_ipython` imported but unused; consider using `importlib.util.find_spec` to test for availability
src/tmuxp/shell.py:54:44: RUF100 [*] Unused `noqa` directive (unused: `F841`)
src/tmuxp/shell.py:57:39: F401 `IPython.Shell.IPShell` imported but unused; consider using `importlib.util.find_spec` to test for availability
src/tmuxp/shell.py:57:48: RUF100 [*] Unused `noqa` directive (unused: `F841`)
src/tmuxp/shell.py:70:53: F401 `prompt_toolkit.contrib.repl.embed` imported but unused; consider using `importlib.util.find_spec` to test for availability
src/tmuxp/shell.py:70:60: F401 `prompt_toolkit.contrib.repl.run_config` imported but unused; consider using `importlib.util.find_spec` to test for availability
src/tmuxp/shell.py:70:72: RUF100 [*] Unused `noqa` directive (unused: `F841`)
src/tmuxp/shell.py:84:56: F401 `prompt_toolkit.contrib.ipython.embed` imported but unused; consider using `importlib.util.find_spec` to test for availability
src/tmuxp/shell.py:84:63: RUF100 [*] Unused `noqa` directive (unused: `F841`)
src/tmuxp/shell.py:85:53: F401 `prompt_toolkit.contrib.repl.run_config` imported but unused; consider using `importlib.util.find_spec` to test for availability
src/tmuxp/shell.py:85:65: RUF100 [*] Unused `noqa` directive (unused: `F841`)
src/tmuxp/shell.py:95:29: F401 `bpython.embed` imported but unused; consider using `importlib.util.find_spec` to test for availability
src/tmuxp/shell.py:95:36: RUF100 [*] Unused `noqa` directive (unused: `F841`)
Found 13 errors.
codecov[bot] commented 3 months ago

Codecov Report

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

Project coverage is 70.19%. Comparing base (fda051f) to head (c2d8961). Report is 3 commits behind head on master.

:exclamation: Current head c2d8961 differs from pull request most recent head b400498

Please upload reports for the commit b400498 to get more accurate results.

Files Patch % Lines
src/tmuxp/shell.py 70.00% 3 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #935 +/- ## ========================================== - Coverage 70.21% 70.19% -0.02% ========================================== Files 26 26 Lines 1937 1936 -1 Branches 404 404 ========================================== - Hits 1360 1359 -1 Misses 454 454 Partials 123 123 ```

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