Skip to content

Commit

Permalink
Don't explicitly annotate type alias.
Browse files Browse the repository at this point in the history
  • Loading branch information
PapyChacal committed Aug 2, 2024
1 parent 0e93faa commit 1e72be7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions filecheck/ops.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
from __future__ import annotations

from dataclasses import dataclass, field
from typing import Callable, TypeAlias
from typing import Callable

from filecheck.options import Options

OP_KINDS = ("DAG", "COUNT", "NOT", "EMPTY", "NEXT", "SAME", "LABEL", "CHECK")

VALUE_MAPPER_T: TypeAlias = Callable[[str], int] | Callable[[str], str]
VALUE_MAPPER_T = Callable[[str], int] | Callable[[str], str]


@dataclass(slots=True)
Expand Down

0 comments on commit 1e72be7

Please sign in to comment.