10u-labs/Assert One Assert Per Pytest
Assert each pytest test function contains exactly one assert
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Jan 4, 2026
- License
- Apache 2.0
Pinned Snippet
uses: 10u-labs/assert-one-assert-per-pytest@3cae3fa0d1ad12a1dd6eb5a7228ea5687a49ff61 # v20260104040549tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| exclude | Glob patterns to exclude files (comma-separated) | no | — |
| fail-fast | Exit on first finding | no | false |
| files | Target files to check (space-separated) | yes | — |
| quiet | Suppress output, exit code only | no | false |
| verbose | Show files scanned/skipped, findings, and summary | no | false |
| warn-only | Always exit 0, report only | no | false |
Outputs
no outputs