From 770fd414050508e91de56e632c9737febd7c2657 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 2 Oct 2023 19:05:21 +0000 Subject: [PATCH 1/3] [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-pre-commit-mirror: 23.9.0 → 23.9.1](https://github.com/psf/black-pre-commit-mirror/compare/23.9.0...23.9.1) - [github.com/astral-sh/ruff-pre-commit: v0.0.287 → v0.0.292](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.287...v0.0.292) --- .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 effd90761e2..9c175ac111b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -28,7 +28,7 @@ repos: - id: check-yaml - repo: https://github.com/psf/black-pre-commit-mirror - rev: 23.9.0 + rev: 23.9.1 hooks: - id: black-jupyter @@ -39,7 +39,7 @@ repos: additional_dependencies: [black==23.9.0] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.0.287 + rev: v0.0.292 hooks: - id: ruff args: [--fix] From 23119216f6a0631b73aaa2a540d8803105432416 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 2 Oct 2023 19:05:55 +0000 Subject: [PATCH 2/3] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- yt/utilities/minimal_representation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt/utilities/minimal_representation.py b/yt/utilities/minimal_representation.py index 920a4faa4f4..19d05983df4 100644 --- a/yt/utilities/minimal_representation.py +++ b/yt/utilities/minimal_representation.py @@ -248,7 +248,7 @@ class MinimalImageCollectionData(MinimalRepresentation): def _generate_post(self): nobj = self._return_filtered_object(("images",)) metadata = nobj._attrs - chunks = [(fn, d) for fn, d in self.images] + chunks = list(self.images) return (metadata, ("images", chunks)) From 33012686d7d632bf11e7fe04fbadf5ce632a1315 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Robert?= Date: Mon, 2 Oct 2023 21:25:17 +0200 Subject: [PATCH 3/3] upgrade blacken-docs[black] --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9c175ac111b..651d5c15c42 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -36,7 +36,7 @@ repos: rev: 1.16.0 hooks: - id: blacken-docs - additional_dependencies: [black==23.9.0] + additional_dependencies: [black==23.9.1] - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.0.292