Dev: Update ruff precommit hooks (#434)

* update ruff

* test

* update ruff

* only ruff check

* CI rename
This commit is contained in:
callebtc
2024-02-17 21:22:07 +01:00
committed by GitHub
parent c285d48edf
commit fca2a6cb4b
9 changed files with 410 additions and 556 deletions

View File

@@ -4,18 +4,12 @@ ruff:
ruff-check:
poetry run ruff check .
black:
poetry run black .
black-check:
poetry run black . --check
mypy:
poetry run mypy cashu --check-untyped-defs
format: black ruff
format: ruff
check: black-check ruff-check mypy
check: ruff-check mypy
clean:
rm -r cashu.egg-info/ || true