actions-marketplace-validations/ruff-action
A GitHub Action to run Ruff, an extremely fast Python linter and code formatter.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| args | Arguments passed to Ruff. Use `ruff --help` to see available options. Defaults to `check`. | no | check |
| src | Source to run Ruff. Defaults to the current directory. | no | ${{ github.workspace }} |
| version | The version of Ruff to use, e.g., `0.6.0` Defaults to the version in pyproject.toml or 'latest'. | no | "" |
| version-file | Path to a pyproject.toml or requirements.txt file to read the version from. | no | — |
| checksum | The checksum of the ruff version to install | no | — |
| github-token | Used to increase the rate limit when retrieving versions and downloading ruff. | no | ${{ github.token }} |
Outputs
| name | description |
|---|---|
| ruff-version | The installed ruff version. Useful when using latest. |