Skip to content

Commit

Permalink
Merge pull request #4962 from yt-project/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
neutrinoceros authored Aug 5, 2024
2 parents 8df23cc + 5c0410e commit 39a7563
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ repos:
additional_dependencies: [black==24.3.0]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.0
rev: v0.5.6
hooks:
- id: ruff-format
types_or: [ python, pyi, jupyter ]
Expand Down
2 changes: 1 addition & 1 deletion yt/frontends/swift/tests/test_outputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def test_non_cosmo_dataset_selection():
@requires_file(EAGLE_6)
def test_cosmo_dataset():
ds = load(EAGLE_6)
assert type(ds) == SwiftDataset
assert type(ds) is SwiftDataset

field = ("gas", "density")
ad = ds.all_data()
Expand Down

0 comments on commit 39a7563

Please sign in to comment.