Skip to content

Commit

Permalink
build: fix isort lint failure
Browse files Browse the repository at this point in the history
  • Loading branch information
oldratlee committed Oct 30, 2023
1 parent 8711358 commit b652596
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lswin.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import sys
from dataclasses import dataclass
from optparse import OptionParser
from typing import Iterable, Tuple, Any
from typing import Any, Iterable, Tuple

# https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
import Quartz # type: ignore
Expand Down Expand Up @@ -45,7 +45,7 @@ class WindowInfo:

class _DataClassJSONEncoder(json.JSONEncoder):
def default(self, o: Any) -> Any:
from dataclasses import is_dataclass, asdict
from dataclasses import asdict, is_dataclass
if is_dataclass(o):
return asdict(o)
return super().default(o)
Expand Down

0 comments on commit b652596

Please sign in to comment.