codegero/Python Guardian
All-in-one Python quality gate — lint, format, type-check, security scan, and test in one action.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| path | Path to Python source directory | no | . |
| python-version | Python version to use | no | 3.12 |
| ruff | Run ruff linting | no | true |
| black | Check black formatting | no | true |
| mypy | Run mypy type checking | no | true |
| bandit | Run bandit security scan | no | true |
| pytest | Run pytest | no | true |
| pytest-args | Additional pytest arguments | no | "" |
| fail-on-error | Fail the workflow on any error | no | true |
| fail-on-warning | Fail the workflow on warnings (strict mode) | no | false |
| annotate-pr | Annotate pull request with results | no | true |
| max-line-length | Maximum line length for formatting checks | no | 100 |
Outputs
no outputs