Skip to content

Updates for file po/com.github.geigi.cozy.pot in tr #89

Updates for file po/com.github.geigi.cozy.pot in tr

Updates for file po/com.github.geigi.cozy.pot in tr #89

Triggered via pull request February 17, 2024 22:09
Status Success
Total duration 37m 29s
Artifacts

checks.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (F401): cozy/architecture/event_sender.py#L3
cozy/architecture/event_sender.py:3:8: F401 `gi` imported but unused
Ruff (SIM102): cozy/control/artwork_cache.py#L58
cozy/control/artwork_cache.py:58:9: SIM102 Use a single `if` statement instead of nested `if` statements
Ruff (F841): cozy/control/artwork_cache.py#L101
cozy/control/artwork_cache.py:101:33: F841 Local variable `e` is assigned to but never used
Ruff (SIM108): cozy/control/artwork_cache.py#L127
cozy/control/artwork_cache.py:127:13: SIM108 Use ternary operator `pixbuf = GdkPixbuf.Pixbuf.new_from_file(path) if path else None` instead of `if`-`else`-block
Ruff (SIM108): cozy/control/db.py#L95
cozy/control/db.py:95:9: SIM108 Use ternary operator `track = get_tracks(book)[0] if len(track_items) > 0 else None` instead of `if`-`else`-block
Ruff (F841): cozy/control/db_updater.py#L243
cozy/control/db_updater.py:243:25: F841 Local variable `e` is assigned to but never used
Ruff (F841): cozy/control/filesystem_monitor.py#L46
cozy/control/filesystem_monitor.py:46:9: F841 Local variable `external_storage` is assigned to but never used
Ruff (PIE790): cozy/control/filesystem_monitor.py#L62
cozy/control/filesystem_monitor.py:62:9: PIE790 Unnecessary `pass` statement
Ruff (F401): cozy/control/offline_cache.py#L9
cozy/control/offline_cache.py:9:8: F401 `cozy.ui` imported but unused
Ruff (E712): cozy/control/offline_cache.py#L122
cozy/control/offline_cache.py:122:78: E712 Comparison to `True` should be `cond is True` or `if cond:`