Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
cphyc committed Sep 18, 2024
1 parent 635338c commit 3b14587
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions yt/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@
import sys
import tempfile
import unittest
from collections.abc import Mapping
from functools import wraps
from importlib.util import find_spec
from shutil import which
from typing import Callable, Union
from typing import TYPE_CHECKING, Callable, Union
from unittest import SkipTest

import matplotlib
Expand All @@ -20,13 +19,17 @@
from unyt.exceptions import UnitOperationError

from yt._maintenance.deprecation import issue_deprecation_warning
from yt._typing import AnyFieldKey
from yt.config import ytcfg
from yt.frontends.stream.data_structures import StreamParticlesDataset
from yt.funcs import is_sequence
from yt.loaders import load, load_particles
from yt.units.yt_array import YTArray, YTQuantity

if TYPE_CHECKING:
from collections.abc import Mapping

from yt._typing import AnyFieldKey

if sys.version_info < (3, 10):
from yt._maintenance.backports import zip

Expand Down

0 comments on commit 3b14587

Please sign in to comment.