ci: add code check workflow #1
Annotations
11 errors
|
Run Ruff Formatter
The process '/opt/hostedtoolcache/ruff/0.15.21/x86_64/ruff' failed with exit code 1
|
|
Run Ruff Linter:
typings/picamera2/__init__.pyi#L1
typings/picamera2/__init__.pyi:1:1: I001 Import block is un-sorted or un-formatted
help: Organize imports
|
|
Run Ruff Linter:
typings/libcamera/_libcamera.pyi#L1
typings/libcamera/_libcamera.pyi:1:1: UP035 Import from `collections.abc` instead: `Iterator`
help: Import from `collections.abc`
|
|
Run Ruff Linter:
typings/libcamera/__init__.pyi#L1
typings/libcamera/__init__.pyi:1:1: F403 `from ._libcamera import *` used; unable to detect undefined names
|
|
Run Ruff Linter:
tests/test_cli.py#L1
tests/test_cli.py:1:8: F401 `argparse` imported but unused
help: Remove unused import: `argparse`
|
|
Run Ruff Linter:
spyglass/server/webrtc_whep.py#L204
spyglass/server/webrtc_whep.py:204:15: UP007 Use `X | Y` for type annotations
help: Convert to `X | Y`
|
|
Run Ruff Linter:
spyglass/server/webrtc_whep.py#L88
spyglass/server/webrtc_whep.py:88:11: C901 `do_POST_async` is too complex (12 > 10)
|
|
Run Ruff Linter:
spyglass/server/http_server.py#L81
spyglass/server/http_server.py:81:27: UP037 Remove quotes from type annotation
help: Remove quotes
|
|
Run Ruff Linter:
spyglass/cli.py#L173
spyglass/cli.py:173:5: E722 Do not use bare `except`
|
|
Run Ruff Linter:
spyglass/camera_options.py#L64
spyglass/camera_options.py:64:31: UP015 Unnecessary mode argument
help: Remove mode argument
|
|
Run Ruff Linter:
spyglass/camera/lazy_encoder.py#L24
spyglass/camera/lazy_encoder.py:24:1: I001 Import block is un-sorted or un-formatted
help: Organize imports
|
background
wait
wait-all
cancel
parallel
Loading