Skip to content

Commit

Permalink
chore: Remove unused import statements and clean up code formatting (#69
Browse files Browse the repository at this point in the history
)
  • Loading branch information
david-zwicker authored Aug 17, 2024
1 parent 0b2df5c commit b2b89f6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion droplets/droplets.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
4 changes: 2 additions & 2 deletions droplets/emulsions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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,
Expand Down
1 change: 0 additions & 1 deletion tests/test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import subprocess as sp
import sys
from pathlib import Path
from typing import List # @UnusedImport

import pytest

Expand Down

0 comments on commit b2b89f6

Please sign in to comment.