BCDA-APS / apstools

various tools for use with Bluesky at the APS
https://bcda-aps.github.io/apstools/latest/
Other
16 stars 9 forks source link

YAML Syntax error in workflow file #992

Closed prjemian closed 2 weeks ago

prjemian commented 2 weeks ago

Recently, a refactor in the code.yml workflow now produces this error:

Invalid workflow file: .github/workflows/code.yml#L42 You have an error in your yaml syntax on line 42

prjemian commented 2 weeks ago

Looks like an indentation error.

prjemian commented 2 weeks ago

With e360ee3, another style problem is exposed:

[Unit Tests & Code Coverage/Code style] ⭐ Run Main ruff check .
[Unit Tests & Code Coverage/Code style]   🐳  docker exec cmd=[bash -l /var/run/act/workflow/4] user= workdir=
| apstools/devices/aps_undulator.py:20:19: F401 [*] `ophyd.Signal` imported but unused
| apstools/devices/aps_undulator.py:22:30: F401 [*] `.tracking_signal.TrackingSignal` imported but unused
| Found 2 errors.
| [*] 2 fixable with the `--fix` option.