fix(ratchet): refuse a package directory that does not exist #4

Merged
christianmanivong merged 1 commits from fix/ratchet-missing-package into main 2026-10-23 09:21:19 +00:00
Owner

Summary

napalm-standard ratchet measured a package directory that does not exist and wrote an
empty baseline without a word. Found while adopting the standard in
napalm-hpe-aruba-procurve, whose import package is napalm_procurve (NAPALM/napalm-hpe-aruba-procurve#19
sets [tool.napalm-standard] package). It now fails with exit 2 and names the setting.

Related Issue

NAPALM/driver-standard#2

Testing

Test first: a missing package raises in ratchet.run and the CLI exits 2 naming
[tool.napalm-standard] package. 96 tests, ruff, mypy strict.

## Summary `napalm-standard ratchet` measured a package directory that does not exist and wrote an empty baseline without a word. Found while adopting the standard in napalm-hpe-aruba-procurve, whose import package is `napalm_procurve` (NAPALM/napalm-hpe-aruba-procurve#19 sets `[tool.napalm-standard] package`). It now fails with exit 2 and names the setting. ## Related Issue NAPALM/driver-standard#2 ## Testing Test first: a missing package raises in `ratchet.run` and the CLI exits 2 naming `[tool.napalm-standard] package`. 96 tests, ruff, mypy strict.
christianmanivong added 1 commit 2026-10-23 08:28:17 +00:00
fix(ratchet): refuse a package directory that does not exist
CI / test (3.11) (pull_request) Successful in 36s
CI / test (3.12) (pull_request) Successful in 32s
CI / test (3.13) (pull_request) Successful in 31s
eb3a296aff
napalm-hpe-aruba-procurve ships napalm_procurve; guessed from its name, the
ratchet measured nothing and wrote an empty baseline without a word.
christianmanivong force-pushed fix/ratchet-missing-package from c3151d62fa to eb3a296aff 2026-10-23 08:28:17 +00:00 Compare
christianmanivong merged commit f108a0e817 into main 2026-10-23 09:21:19 +00:00
christianmanivong deleted branch fix/ratchet-missing-package 2026-10-23 09:21:19 +00:00
Sign in to join this conversation.