From 815ed061fb3548051db828ddfb116331b3c7eaca Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 24 Oct 2023 15:33:43 +0000 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8F=F0=9F=AA=9D=20update=20pre-c?= =?UTF-8?q?ommit=20hooks=20(#320)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/srstevenson/nb-clean: 3.0.1 → 3.1.0](https://github.com/srstevenson/nb-clean/compare/3.0.1...3.1.0) - [github.com/sirosen/texthooks: 0.5.0 → 0.6.2](https://github.com/sirosen/texthooks/compare/0.5.0...0.6.2) - [github.com/astral-sh/ruff-pre-commit: v0.0.292 → v0.1.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.292...v0.1.1) - [github.com/psf/black-pre-commit-mirror: 23.9.1 → 23.10.0](https://github.com/psf/black-pre-commit-mirror/compare/23.9.1...23.10.0) - [github.com/pre-commit/mirrors-clang-format: v17.0.2 → v17.0.3](https://github.com/pre-commit/mirrors-clang-format/compare/v17.0.2...v17.0.3) - [github.com/pre-commit/mirrors-mypy: v1.6.0 → v1.6.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.6.0...v1.6.1) --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Lukas Burgholzer --- .pre-commit-config.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 17ae9b66..4922faef 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -30,13 +30,13 @@ repos: # Clean jupyter notebooks - repo: https://github.com/srstevenson/nb-clean - rev: 3.0.1 + rev: 3.1.0 hooks: - id: nb-clean # Handling unwanted unicode characters - repo: https://github.com/sirosen/texthooks - rev: 0.5.0 + rev: 0.6.2 hooks: - id: fix-ligatures - id: fix-smartquotes @@ -51,14 +51,14 @@ repos: # Run ruff (subsumes pyupgrade, isort, flake8+plugins, and more) - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.0.292 + rev: v0.1.1 hooks: - id: ruff args: ["--fix", "--show-fixes"] # Run code formatting with Black - repo: https://github.com/psf/black-pre-commit-mirror - rev: 23.9.1 # Keep in sync with blacken-docs + rev: 23.10.0 # Keep in sync with blacken-docs hooks: - id: black-jupyter @@ -68,7 +68,7 @@ repos: hooks: - id: blacken-docs additional_dependencies: - - black==23.9.1 # keep in sync with black hook + - black==23.10.0 # keep in sync with black hook # CMake format and lint the CMakeLists.txt files - repo: https://github.com/cheshirekow/cmake-format-precommit @@ -81,7 +81,7 @@ repos: # Clang-format the C++ part of the code base automatically - repo: https://github.com/pre-commit/mirrors-clang-format - rev: v17.0.2 + rev: v17.0.3 hooks: - id: clang-format types_or: [c++, c, cuda] @@ -95,7 +95,7 @@ repos: # Check static types with mypy - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.6.0 + rev: v1.6.1 hooks: - id: mypy files: ^(src/mqt|test/python)