Open
Description
Trying the flake8 test on your package produce the following:
warning: Git tree '/home/ulysses/projects/nix/nixpkgs' is dirty
error: builder for '/nix/store/6gjdpwvnjycsq8yf6426r1cqad0z188s-python3.11-ament-package-0.17.2.drv' failed with exit code 1;
last 25 log lines:
> ^
> ./ament_package/template/prefix_level/_local_setup_util.py:407:5: F824 `global env_state` is unused: name is never assigned in scope
> global env_state
> ^
> ./ament_package/template/prefix_level/_local_setup_util.py:415:5: F824 `global env_state` is unused: name is never assigned in scope
> global env_state
> ^
> ./build/lib/ament_package/template/prefix_level/_local_setup_util.py:350:5: F824 `global env_state` is unused: name is never assigned in scope
> global env_state
> ^
> ./build/lib/ament_package/template/prefix_level/_local_setup_util.py:372:5: F824 `global env_state` is unused: name is never assigned in scope
> global env_state
> ^
> ./build/lib/ament_package/template/prefix_level/_local_setup_util.py:394:5: F824 `global env_state` is unused: name is never assigned in scope
> global env_state
> ^
> ./build/lib/ament_package/template/prefix_level/_local_setup_util.py:407:5: F824 `global env_state` is unused: name is never assigned in scope
> global env_state
> ^
> ./build/lib/ament_package/template/prefix_level/_local_setup_util.py:415:5: F824 `global env_state` is unused: name is never assigned in scope
> global env_state
> ^
> =========================== short test summary info ============================
> FAILED test/test_flake8.py::test_flake8 - AssertionError: Found code style errors / warnings
> ============================== 1 failed in 0.48s ===============================
For full logs, run:
nix log /nix/store/6gjdpwvnjycsq8yf6426r1cqad0z188s-python3.11-ament-package-0.17.2.drv
Guys, honestly. I don't understand this. You build extra test environments into your packages and then they don't work. What's the point?