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

@@ -1,7 +1,7 @@
exclude: "^cashu/nostr/.*"
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
@@ -12,16 +12,12 @@ repos:
- id: debug-statements
- id: mixed-line-ending
- id: check-case-conflict
# - repo: https://github.com/psf/black
# rev: 23.11.0
# hooks:
# - id: black
# args: [--line-length=150]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.283
rev: v0.2.1
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
args: [--fix]
- id: ruff-format
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.6.0
hooks: