Skip to content

Commit 466a92a

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 1af2ffc commit 466a92a

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

pylint/checkers/refactoring/refactoring_checker.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1381,12 +1381,15 @@ def _check_comparisons(self, node: nodes.BoolOp) -> None:
13811381

13821382
def _get_graph_from_comparison_nodes(
13831383
self, node: nodes.BoolOp
1384-
) -> None | tuple[
1385-
dict[str | int | float, set[str | int | float]],
1386-
dict[tuple[str | int | float, str | int | float], str],
1387-
dict[str | int | float, int],
1388-
dict[tuple[str | int | float, str | int | float], int],
1389-
]:
1384+
) -> (
1385+
None
1386+
| tuple[
1387+
dict[str | int | float, set[str | int | float]],
1388+
dict[tuple[str | int | float, str | int | float], str],
1389+
dict[str | int | float, int],
1390+
dict[tuple[str | int | float, str | int | float], int],
1391+
]
1392+
):
13901393
if node.op != "and" or len(node.values) < 2:
13911394
return None
13921395

0 commit comments

Comments
 (0)