Skip to content

Commit

Permalink
Merge pull request #4681 from yt-project/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
  • Loading branch information
neutrinoceros authored Oct 2, 2023
2 parents c2b1b0f + 3301268 commit f74c6d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,18 @@ 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

- repo: https://github.com/adamchainz/blacken-docs
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.287
rev: v0.0.292
hooks:
- id: ruff
args: [--fix]
Expand Down
2 changes: 1 addition & 1 deletion yt/utilities/minimal_representation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))


Expand Down

0 comments on commit f74c6d5

Please sign in to comment.