Skip to content

Commit dd8c9e8

Browse files
updated pyright ignore directive for callable import in __init__.pyi
1 parent b8c5175 commit dd8c9e8

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

stubs/six/six/__init__.pyi

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ import operator
22
import types
33
import unittest
44
from _typeshed import IdentityFunction, SupportsGetItem, Unused
5-
from builtins import callable as callable, next as next # pyright: ignore[reportUnknownVariableType]
5+
from builtins import (
6+
callable as callable, # pyright: ignore[reportUnknownVariableType,reportUnnecessaryTypeIgnoreComment]
7+
next as next,
8+
)
69
from collections.abc import Callable, ItemsView, Iterable, Iterator as _Iterator, KeysView, Mapping, ValuesView
710
from functools import wraps as wraps
811
from importlib.util import spec_from_loader as spec_from_loader

0 commit comments

Comments
 (0)