Skip to content

Commit

Permalink
ci(ruff): use ruff check
Browse files Browse the repository at this point in the history
warning: `ruff <path>` is deprecated. Use `ruff check <path>` instead.

See also: https://github.com/astral-sh/ruff/blob/v0.3.0/CHANGELOG.md
  • Loading branch information
tony committed Mar 2, 2024
1 parent d3ca9aa commit b79a1b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
python -V
poetry run python -V
- name: Lint with ruff
run: poetry run ruff .
- name: Lint with ruff check
run: poetry run ruff check .

- name: Format with ruff
- name: Format with ruff format
run: poetry run ruff format . --check

- name: Lint with mypy
Expand Down

0 comments on commit b79a1b1

Please sign in to comment.