Stateless components #460
Annotations
10 errors and 1 warning
|
Run ruff:
src/tomato/daemon/cmd.py#L62
src/tomato/daemon/cmd.py:62:13: SIM118 Use `key in dict` instead of `key in dict.keys()`
help: Remove `.keys()`
|
|
Run ruff:
src/tomato/daemon/cmd.py#L53
src/tomato/daemon/cmd.py:53:13: SIM118 Use `key in dict` instead of `key in dict.keys()`
help: Remove `.keys()`
|
|
Run ruff:
src/tomato/daemon/cmd.py#L18
src/tomato/daemon/cmd.py:18:8: PLR0402 Use `from tomato.daemon import pipdb` in lieu of alias
help: Replace with `from tomato.daemon import pipdb`
|
|
Run ruff:
src/tomato/daemon/cmd.py#L17
src/tomato/daemon/cmd.py:17:8: PLR0402 Use `from tomato.daemon import drvdb` in lieu of alias
help: Replace with `from tomato.daemon import drvdb`
|
|
Run ruff:
src/tomato/daemon/__init__.py#L98
src/tomato/daemon/__init__.py:98:21: B010 Do not call `setattr` with a constant attribute value. It is not any safer than normal property access.
help: Replace `setattr` with assignment
|
|
Run ruff:
src/tomato/daemon/__init__.py#L96
src/tomato/daemon/__init__.py:96:20: B009 Do not call `getattr` with a constant attribute value. It is not any safer than normal property access.
help: Replace `getattr` with attribute access
|
|
Run ruff:
src/tomato/daemon/__init__.py#L77
src/tomato/daemon/__init__.py:77:5: B010 Do not call `setattr` with a constant attribute value. It is not any safer than normal property access.
help: Replace `setattr` with assignment
|
|
Run ruff:
src/tomato/daemon/__init__.py#L74
src/tomato/daemon/__init__.py:74:5: B010 Do not call `setattr` with a constant attribute value. It is not any safer than normal property access.
help: Replace `setattr` with assignment
|
|
Run ruff:
src/tomato/daemon/__init__.py#L71
src/tomato/daemon/__init__.py:71:5: B010 Do not call `setattr` with a constant attribute value. It is not any safer than normal property access.
help: Replace `setattr` with assignment
|
|
Run ruff:
src/tomato/daemon/__init__.py#L16
src/tomato/daemon/__init__.py:16:8: PLR0402 Use `from tomato.daemon import cmd` in lieu of alias
help: Replace with `from tomato.daemon import cmd`
|
|
Complete job
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/
|
background
wait
wait-all
cancel
parallel
Loading