Skip to content

Commit 7ae7f7b

Browse files
committed
fix Union -> |
1 parent 36aacf1 commit 7ae7f7b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

flake8_async/visitors/flake8asyncvisitor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
import ast
66
from abc import ABC
7-
from typing import TYPE_CHECKING, Any, Union
7+
from typing import TYPE_CHECKING, Any
88

99
import libcst as cst
1010
from libcst.metadata import PositionProvider
@@ -16,7 +16,7 @@
1616

1717
from ..runner import SharedState
1818

19-
HasLineCol = Union[ast.expr, ast.stmt, ast.arg, ast.excepthandler, Statement]
19+
HasLineCol = ast.expr | ast.stmt | ast.arg | ast.excepthandler | Statement
2020

2121

2222
class Flake8AsyncVisitor(ast.NodeVisitor, ABC):

0 commit comments

Comments
 (0)