Skip to content

Commit

Permalink
lint: fix flake8 issue
Browse files Browse the repository at this point in the history
Import was detected as unused because the type hinting was used in the form
\# type: Type
  • Loading branch information
marcofavorito committed May 13, 2023
1 parent bcc26e0 commit 1536c78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pddl/parser/symbols.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class Symbols(Enum):
EQUAL = "="


ALL_SYMBOLS = {v.value for v in Symbols} # type: Set[str]
ALL_SYMBOLS: Set[str] = {v.value for v in Symbols}


class RequirementSymbols(Enum):
Expand All @@ -76,4 +76,4 @@ def strip(self) -> str:
return self.value[1:]


ALL_REQUIREMENTS = {v.value for v in RequirementSymbols} # type: Set[str]
ALL_REQUIREMENTS: Set[str] = {v.value for v in RequirementSymbols}

0 comments on commit 1536c78

Please sign in to comment.