ChartBoost / ruff-action

A GitHub Action for Ruff
Apache License 2.0
121 stars 21 forks source link

Provide api wrapping the cli args #8

Open tobiasdiez opened 10 months ago

tobiasdiez commented 10 months ago

It would be nice if common command line args could be directly exposed from the action so that one can use something like

- uses: chartboost/ruff-action@v1
  with:
     - exclude: |
          E101
          F202

instead of providing it manually via args

(array input for exclude would also make sense but is not yet implemented: https://github.com/actions/toolkit/issues/184)

brucearctor commented 10 months ago

@tobiasdiez -- any interest in contributing this? That'd be welcomed