advanced-security/Python Lint Code Scanning Action
Runs a python linter of your choice, outputting SARIF
View on GitHubTrust Signals
- Scorecard Score
- Scorecard 4–6scored Dec 23, 2023
- Maintenance Recency
- Maintainedlast commit Dec 31, 2025
- License
- MIT
Pinned Snippet
uses: advanced-security/python-lint-code-scanning-action@7ebf81c5860ee4d41849872bc2f95b4243c8dc28 # v1.1.3tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| linter | The linter to use | yes | flake8 |
| target | The target to lint | yes | ${{ github.workspace }} |
| output | The output file | no | python_linter.sarif |
| python-version | The version of python to use | no | 3.10 |
| ruff-version | The version of ruff to use | no | latest |
| flake8-version | The version of flake8 to use | no | latest |
| pylint-version | The version of pylint to use | no | latest |
| mypy-version | The version of mypy to use | no | latest |
| pyright-version | The version of pyright to use | no | latest |
| pytype-version | The version of pytype to use | no | latest |
| fixit-version | The version of fixit to use | no | latest |
| pyre-version | The version of pyre to use | no | latest |
| typeshed-version | The version of typeshed to use | no | main |
Outputs
no outputs