mirror of
https://github.com/Hopiu/llm.git
synced 2026-03-16 20:50:25 +00:00
Update to ruff check .
This commit is contained in:
parent
2881576dd0
commit
c9fab1150c
2 changed files with 3 additions and 3 deletions
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
|
@ -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: |
|
||||
|
|
|
|||
4
Justfile
4
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue