update pre-commit config

This commit is contained in:
barry 2025-01-11 01:23:28 +01:00
parent 0f9e295ba3
commit 069926265c

View File

@ -1,13 +1,12 @@
repos: repos:
- repo: https://github.com/astral-sh/ruff-pre-commit - repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.0 # Use the desired version of ruff rev: v0.9.0
hooks: hooks:
- id: ruff - id: ruff
args: ["--ignore=E711,E721"] args: ["--ignore=E711,E721"]
# args: ["--fix"] # Automatically apply fixes where possible # args: ["--fix"] # Automatically apply fixes where possible
- id: ruff-format - id: ruff-format
repos:
- repo: local - repo: local
hooks: hooks:
- id: run-unittest - id: run-unittest