Skip to content

Commit

Permalink
Ruff lint and format as separate steps
Browse files Browse the repository at this point in the history
  • Loading branch information
lwrubel committed Jul 3, 2024
1 parent fd25a8b commit 0fe29cc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,13 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Lint and format
- name: Lint
uses: chartboost/ruff-action@v1
# Default action is 'check'
# it may move, see https://github.com/astral-sh/ruff/issues/8400

- name: Format
uses: chartboost/ruff-action@v1
with:
args: 'format --check'

Expand Down

0 comments on commit 0fe29cc

Please sign in to comment.