Update to ruff check .

This commit is contained in:
Simon Willison 2024-07-18 12:06:41 -07:00
parent 2881576dd0
commit c9fab1150c
2 changed files with 3 additions and 3 deletions

View file

@ -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: |

View file

@ -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