From d0d92eaeb401a50ac0edb895df5895a0d05975d9 Mon Sep 17 00:00:00 2001 From: Zhiyuan Chen Date: Wed, 15 May 2024 11:52:15 +0800 Subject: [PATCH] update pre-commit hooks --- .pre-commit-config.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 57256cb..f046011 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,12 +2,12 @@ default_language_version: python: python3 repos: - repo: https://github.com/PSF/black - rev: 23.3.0 + rev: 24.4.2 hooks: - id: black args: [--safe, --quiet] - repo: https://github.com/PyCQA/isort - rev: 5.12.0 + rev: 5.13.2 hooks: - id: isort name: isort @@ -20,31 +20,31 @@ repos: # - flake8-comprehensions # - flake8-simplify - repo: https://github.com/asottile/pyupgrade - rev: v3.7.0 + rev: v3.15.2 hooks: - id: pyupgrade args: [--py37-plus] - repo: https://github.com/tox-dev/pyproject-fmt - rev: 0.12.1 + rev: 2.1.1 hooks: - id: pyproject-fmt - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.4.1 + rev: v1.10.0 hooks: - id: mypy additional_dependencies: - types-requests - types-six - repo: https://github.com/codespell-project/codespell - rev: v2.2.5 + rev: v2.2.6 hooks: - id: codespell - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.0.0-alpha.9-for-vscode + rev: v4.0.0-alpha.8 hooks: - id: prettier - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.6.0 hooks: - id: check-added-large-files - id: check-ast