Skip to content

Commit

Permalink
fix: use Dict to support Python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
guilatrova committed Sep 12, 2021
1 parent b873476 commit 22e4119
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tryceratops/fixers/base.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
from abc import ABC, abstractmethod
from collections import defaultdict
from typing import Generic, Iterable, List, TypeVar
from typing import Dict, Generic, Iterable, List, TypeVar

from tryceratops.processors import Processor
from tryceratops.violations import Violation

from .exceptions import FixerFixException

ViolationType = TypeVar("ViolationType", bound=Violation)
GroupedViolations = dict[str, List[ViolationType]]
GroupedViolations = Dict[str, List[ViolationType]]


class FileFixerHandler:
Expand Down

0 comments on commit 22e4119

Please sign in to comment.