8000 Reject tool.thx.job with invalid keys · Issue #160 · omnilib/thx · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Reject tool.thx.job with invalid keys #160

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of se 7B4A rvice and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
lordmauve opened this issue May 8, 2025 · 0 comments
Open

Reject tool.thx.job with invalid keys #160

lordmauve opened this issue May 8, 2025 · 0 comments

Comments

@lordmauve
Copy link
Contributor

I accidentally typoed the requires key as needs (GitHub Actions has broken my brain).

This silently does nothing.

Expected behaviour

When parsing pyproject.toml, thx should warn about invalid keys in a table and discard the jog, e.g.

$ thx docs
WARNING: tool.thx.jobs.docs: unexpected key 'needs'; ignoring malformed job definition.
Usage: thx [OPTIONS] COMMAND1 [ARGS]... [COMMAND2 [ARGS]...]...
Try 'thx --help' for help.

Error: No such command 'docs'.
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

No branches or pull requests

1 participant
0