advanced-security/Python Lint Code Scanning Action

Runs a python linter of your choice, outputting SARIF

View on GitHub

Trust Signals

Scorecard Score
Scorecard 4–6scored Dec 23, 2023
Maintenance Recency
Maintainedlast commit Dec 31, 2025
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: advanced-security/python-lint-code-scanning-action@7ebf81c5860ee4d41849872bc2f95b4243c8dc28 # v1.1.3

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

namedescriptionrequireddefault
linterThe linter to useyesflake8
targetThe target to lintyes${{ github.workspace }}
outputThe output filenopython_linter.sarif
python-versionThe version of python to useno3.10
ruff-versionThe version of ruff to usenolatest
flake8-versionThe version of flake8 to usenolatest
pylint-versionThe version of pylint to usenolatest
mypy-versionThe version of mypy to usenolatest
pyright-versionThe version of pyright to usenolatest
pytype-versionThe version of pytype to usenolatest
fixit-versionThe version of fixit to usenolatest
pyre-versionThe version of pyre to usenolatest
typeshed-versionThe version of typeshed to usenomain

no outputs