don't flush whole cache; protect against bad definitions #1073
ruff.yml
on: push
Test conformance to Ruff code formatter
8s
Annotations
10 errors and 1 warning
|
ruff (RUF100):
4cat-daemon.py#L64
4cat-daemon.py:64:50: RUF100 Unused `noqa` directive (non-enabled: `E402`)
help: Remove unused `noqa` directive
|
|
ruff (I001):
4cat-daemon.py#L64
4cat-daemon.py:64:1: I001 Import block is un-sorted or un-formatted
help: Organize imports
|
|
ruff (PLR1722):
4cat-daemon.py#L59
4cat-daemon.py:59:9: PLR1722 Use `sys.exit()` instead of `exit`
help: Replace `exit` with `sys.exit()`
|
|
ruff (UP031):
4cat-daemon.py#L58
4cat-daemon.py:58:15: UP031 Use format specifiers instead of percent format
help: Replace with format specifiers
|
|
ruff (UP031):
4cat-daemon.py#L56
4cat-daemon.py:56:15: UP031 Use format specifiers instead of percent format
help: Replace with format specifiers
|
|
ruff (UP031):
4cat-daemon.py#L55
4cat-daemon.py:55:15: UP031 Use format specifiers instead of percent format
help: Replace with format specifiers
|
|
ruff (PLR1722):
4cat-daemon.py#L31
4cat-daemon.py:31:5: PLR1722 Use `sys.exit()` instead of `exit`
help: Replace `exit` with `sys.exit()`
|
|
ruff (PLW1510):
4cat-daemon.py#L24
4cat-daemon.py:24:10: PLW1510 `subprocess.run` without explicit `check` argument
help: Add explicit `check=False`
|
|
ruff (UP022):
4cat-daemon.py#L24
4cat-daemon.py:24:10: UP022 Prefer `capture_output` over sending `stdout` and `stderr` to `PIPE`
help: Replace with `capture_output` keyword argument
|
|
ruff (I001):
4cat-daemon.py#L1
4cat-daemon.py:1:1: I001 Import block is un-sorted or un-formatted
help: Organize imports
|
|
Test conformance to Ruff code formatter
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, astral-sh/ruff-action@v3. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|