Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jpetrucciani/ruff-check

github action to run ruff on your repo
https://github.com/jpetrucciani/ruff-check

actions lint python ruff static-analysis

Last synced: 7 days ago
JSON representation

github action to run ruff on your repo

Awesome Lists containing this project

README

        

# ruff-check

GitHub Action for [ruff](https://github.com/charliermarsh/ruff)

## Inputs

### `path`

The path to run ruff on

**Default** `"."`

### `format`

Format to output ruff messages in

**Default** `"github"`

### `flags`

**Optional** Optional ruff flags (refer to `ruff --help`)

**Default** `""`

## Outputs

None

## Example usage

```yaml
uses: jpetrucciani/ruff-check@main

# or specify a path!
uses: jpetrucciani/ruff-check@main
with:
path: '.'

# or specify more flags!
uses: jpetrucciani/ruff-check@main
with:
flags: '--exclude ./env/'
```