diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 37b92c35598..dada61e6f32 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 ] diff --git a/yt/frontends/swift/tests/test_outputs.py b/yt/frontends/swift/tests/test_outputs.py index 1aa61284dc0..d6dccb41e20 100644 --- a/yt/frontends/swift/tests/test_outputs.py +++ b/yt/frontends/swift/tests/test_outputs.py @@ -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()