diff --git a/droplets/droplets.py b/droplets/droplets.py index 1ebdfe7..134db8c 100644 --- a/droplets/droplets.py +++ b/droplets/droplets.py @@ -170,7 +170,7 @@ def _init_data(self, **kwargs) -> None: # on the data. self.data = np.recarray(1, dtype=dtype)[0] - def __init_subclass__(cls, **kwargs): # @NoSelf + def __init_subclass__(cls, **kwargs): """Modify subclasses of this base class.""" super().__init_subclass__(**kwargs) diff --git a/droplets/emulsions.py b/droplets/emulsions.py index e27e9e8..6cd6a0a 100644 --- a/droplets/emulsions.py +++ b/droplets/emulsions.py @@ -34,7 +34,7 @@ from .droplets import SphericalDroplet, droplet_from_data if TYPE_CHECKING: - from .trackers import DropletTracker # @UnusedImport + from .trackers import DropletTracker class Emulsion(list): @@ -1004,7 +1004,7 @@ def tracker( filename (str): determines where the EmulsionTimeCourse data is stored """ - from .trackers import DropletTracker # @Reimport + from .trackers import DropletTracker return DropletTracker( emulsion_timecourse=self, diff --git a/tests/test_examples.py b/tests/test_examples.py index ed0a99a..53352cd 100644 --- a/tests/test_examples.py +++ b/tests/test_examples.py @@ -8,7 +8,6 @@ import subprocess as sp import sys from pathlib import Path -from typing import List # @UnusedImport import pytest