From 1dd5eed15841ee3175ca8d1794e0ecd94ff4ba56 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 29 Apr 2024 21:48:54 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/psf/black: 24.4.0 → 24.4.2](https://github.com/psf/black/compare/24.4.0...24.4.2) - [github.com/astral-sh/ruff-pre-commit: v0.4.1 → v0.4.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.1...v0.4.2) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3ad39cff..14af5788 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -89,7 +89,7 @@ repos: # Python Formatting - repo: https://github.com/psf/black - rev: 24.4.0 # Keep in sync with blacken-docs + rev: 24.4.2 # Keep in sync with blacken-docs hooks: - id: black - repo: https://github.com/asottile/blacken-docs @@ -103,7 +103,7 @@ repos: # Python: Ruff linter # https://docs.astral.sh/ruff/ - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.4.1 + rev: v0.4.2 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 0d860e13311d1653760050daee0f803ef95b3fa8 Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Tue, 30 Apr 2024 15:50:58 -0700 Subject: [PATCH 2/2] Update .pre-commit-config.yaml --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 14af5788..5dbf72bb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -85,7 +85,7 @@ repos: hooks: - id: isort name: isort (python) - args: ['--profile black'] + args: ["--profile", "black", "--filter-files"] # Python Formatting - repo: https://github.com/psf/black @@ -97,7 +97,7 @@ repos: hooks: - id: blacken-docs additional_dependencies: - - black==24.4.0 # keep in sync with black hook + - black==24.4.2 # keep in sync with black hook # TODO: black-jupyter # Python: Ruff linter