khulnasoft/Run Actions based for Python Project
Run actions for Python Project on pull requests to improve code review experience.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| root | Project root directory. Default '.' | — | . |
| toml | pyproject.toml location. Default pyproject.toml | — | pyproject.toml |
| black | Run Black Default is false. | — | false |
| bandit | Run Bandit Default is false. | — | false |
| pylint | Run Pylint Default is false. | — | false |
| pyright | Run Pyright Default is false. | — | false |
| flake8 | Run Flake8 Default is false. | — | false |
| pytest | Run tests with PyTest Default is false. | — | false |
| pypi_publish | Publish to PyPi Default is false | — | false |
| args | Customize which tests run with Pytest Markers | — | "" |
| pypi_repo | PyPi Target. Use this to point to private or test locations. Default testpypi | — | pypi |
| pypi_password | Credentials for PyPi | — | "" |
| version_suffix | Value to append to version in order to produce unique id for PyPi. Examples include: '-rc {{ github.run_attempt }}' '-dev {{ github.run_attempt }}' | — | "" |
| github_token | GITHUB_TOKEN | — | ${{ github.token }} |
| workdir | Working directory relative to the root directory. | — | src |
| level | Report level for reviewdog [info,warning,error] | — | error |
| reporter | Reporter of reviewdog command [github-pr-check,github-pr-review]. | — | github-pr-check |
| filter_mode | Filtering mode for the reviewdog command [added,diff_context,file,nofilter]. Default is added. | — | added |
| fail_on_error | Exit code for reviewdog when errors are found [true,false] Default is `false`. | — | false |
| reviewdog_flags | Additional reviewdog flags | — | "" |
Outputs
no outputs