Skip to content

Led component

Led component #242

Triggered via pull request January 21, 2024 01:24
Status Failure
Total duration 47s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
mypy: components/led.py#L66
Incompatible types in assignment (expression has type "HsvColour", variable has type "tuple[int, int, int]")
mypy: components/led.py#L91
Return value expected
mypy: components/led.py#L188
Incompatible types in assignment (expression has type "float", variable has type "int")
mypy: components/led.py#L190
Incompatible types in assignment (expression has type "float", variable has type "int")
mypy: components/led.py#L192
Incompatible types in assignment (expression has type "float", variable has type "int")
mypy
The process '/home/runner/.local/bin/pdm' failed with exit code 1
test: tests/.venv/lib/python3.12/site-packages/pyfrc/tests/basic.py#L136
test_disabled magicbot.inject.MagicInjectError: Component lights has variable pwm_channel (type <enum 'PwmChannels'>), which is absent from robot
test: tests/.venv/lib/python3.12/site-packages/pyfrc/tests/basic.py#L136
test_operator_control RuntimeError: A CANSparkMax instance has already been created with this device ID: 2
test: tests/.venv/lib/python3.12/site-packages/pyfrc/tests/basic.py#L136
test_practice magicbot.inject.MagicInjectError: Component lights has variable pwm_channel (type <enum 'PwmChannels'>), which is absent from robot
test
Process completed with exit code 1.