From c9fab1150c07138a245ab7dfff72a1e332ee2780 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Thu, 18 Jul 2024 12:06:41 -0700 Subject: [PATCH] Update to ruff check . --- .github/workflows/test.yml | 2 +- Justfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9d6a34d1..1884fc9a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -45,7 +45,7 @@ jobs: - name: Run ruff if: matrix.os != 'windows-latest' run: | - ruff . + ruff check . - name: Run test-llm-load-plugins.sh if: matrix.os != 'windows-latest' run: | diff --git a/Justfile b/Justfile index a83d3600..868e7ea7 100644 --- a/Justfile +++ b/Justfile @@ -21,7 +21,7 @@ echo " mypy" pipenv run mypy llm echo " ruff" - pipenv run ruff . + pipenv run ruff check . # Run mypy @mypy: @@ -42,7 +42,7 @@ # Run automatic fixes @fix: cog - pipenv run ruff . --fix + pipenv run ruff check . --fix pipenv run black . # Push commit if tests pass