Skip to content

Skip tool if not present, rather than terminating entire collection#4

Merged
bleggett merged 1 commit intomainfrom
bleggett/skip-missing
Mar 10, 2026
Merged

Skip tool if not present, rather than terminating entire collection#4
bleggett merged 1 commit intomainfrom
bleggett/skip-missing

Conversation

@bleggett
Copy link
Contributor

@bleggett bleggett commented Mar 6, 2026

Without this, if one of the tools (e.g. lsusb) isn't in PATH, the whole collection fails, rather than just skipping the missing tool and opportunistically collecting what we can.

Closes #3

@bleggett bleggett force-pushed the bleggett/skip-missing branch from 4d1bb11 to 263126f Compare March 6, 2026 22:58
@bleggett bleggett requested review from found-it and tycho March 6, 2026 22:58
@bleggett bleggett merged commit 70d683a into main Mar 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ERROR: Fatal exception during collection: [Errno 2] No such file or directory: 'lsusb'

2 participants