chore(pre-commit): update pre-commit hooks

This commit is contained in:
Xuehai Pan 2024-03-05 06:07:01 +00:00
parent 8e0c203a1d
commit 470245dc3d

View file

@ -25,7 +25,7 @@ repos:
- id: debug-statements
- id: double-quote-string-fixer
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.2.1
rev: v0.3.0
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
@ -38,7 +38,7 @@ repos:
hooks:
- id: black
- repo: https://github.com/asottile/pyupgrade
rev: v3.15.0
rev: v3.15.1
hooks:
- id: pyupgrade
args: [--py37-plus] # sync with requires-python