10u-labs/Assert One Assert Per Pytest

Assert each pytest test function contains exactly one assert

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Jan 4, 2026
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: 10u-labs/assert-one-assert-per-pytest@3cae3fa0d1ad12a1dd6eb5a7228ea5687a49ff61 # v20260104040549

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
excludeGlob patterns to exclude files (comma-separated)no
fail-fastExit on first findingnofalse
filesTarget files to check (space-separated)yes
quietSuppress output, exit code onlynofalse
verboseShow files scanned/skipped, findings, and summarynofalse
warn-onlyAlways exit 0, report onlynofalse

no outputs