Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stubs/Markdown/markdown/extensions/abbr.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class AbbrTreeprocessor(Treeprocessor):
def create_element(self, title: str, text: str, tail: str) -> Element: ...
def iter_element(self, el: Element, parent: Element | None = None) -> None: ...

# Techinically it is the same type as `AbbrPreprocessor` just not deprecated.
# Technically it is the same type as `AbbrPreprocessor` just not deprecated.
class AbbrBlockprocessor(BlockProcessor):
RE: ClassVar[Pattern[str]]
abbrs: dict[str, str]
Expand Down
2 changes: 1 addition & 1 deletion stubs/docutils/docutils/statemachine.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ class ViewList(Generic[_T]):
def xitems(self) -> Generator[tuple[str, int, str]]: ...
def pprint(self) -> None: ...

# dummy atribute to indicate to mypy that ViewList is Iterable[str]
# dummy attribute to indicate to mypy that ViewList is Iterable[str]
def __iter__(self) -> Iterator[str]: ...

class StringList(ViewList[str]):
Expand Down
2 changes: 1 addition & 1 deletion stubs/geopandas/geopandas/_decorator.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ _Func = TypeVar("_Func", bound=_AnyCallable)
# We (ab)use this decorator to also copy the signature of the source function (overload 1)
# The advantages are:
# - avoid copying all parameters and types manually while conserving type safety
# - signature properly handeled in IDEs (at least with Pylance)
# - signature properly handled in IDEs (at least with Pylance)
# - docstring from the original function properly displayed (at least with Pylance)
# Using the other overloads returns the signature of the decorated function instead
@overload
Expand Down
2 changes: 1 addition & 1 deletion stubs/geopandas/geopandas/io/sql.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ _SqlalchemyConnectableLike: TypeAlias = _SqlalchemyConnectionLike | _SqlalchemyE
# ---------------------
# End SQLAlchemy hack

_SQLConnection: TypeAlias = str | _SqlalchemyConnectableLike | sqlite3.Connection # coppied from pandas.io.sql
_SQLConnection: TypeAlias = str | _SqlalchemyConnectableLike | sqlite3.Connection # copied from pandas.io.sql

@overload
def _read_postgis(
Expand Down
2 changes: 1 addition & 1 deletion stubs/gevent/gevent/_types.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ from typing_extensions import TypeVarTuple, Unpack

_Ts = TypeVarTuple("_Ts")

# gevent uses zope.interface interanlly which does not work well with type checkers
# gevent uses zope.interface internally which does not work well with type checkers
# partially due to the odd call signatures without self and partially due to them
# behaving essentially like a Protocol, so a mypy plugin is necessary to type check
# them correctly, and then you still have to give up on some valuable features due
Expand Down
2 changes: 1 addition & 1 deletion stubs/gevent/gevent/libuv/loop.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class loop(AbstractLoop):
def debug(self) -> list[_HandleState]: ...
def install_sigchld(self) -> None: ...
def reset_sigchld(self) -> None: ...
# this returns a class private to gevent.libuv.watcher.io, which satisifies the protocol
# this returns a class private to gevent.libuv.watcher.io, which satisfies the protocol
def io(self, fd: FileDescriptor, events: int, ref: bool = True, priority: int | None = None) -> _IoWatcher: ...
def closing_fd(self, fd: FileDescriptor) -> bool: ...
def timer(self, after: float, repeat: float = 0.0, ref: bool = True, priority: int | None = None) -> watcher.timer: ...
Expand Down
2 changes: 1 addition & 1 deletion stubs/ldap3/ldap3/core/connection.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ _ServerSequence: TypeAlias = (
set[Server] | list[Server] | tuple[Server, ...] | Generator[Server, None, None] | dict_keys[Server, Incomplete]
)
# TODO: Construct full request and response types. This is non-trivial because there are many different request/response types and
# the libary was written async (not thread-safe) design.
# the library was written async (not thread-safe) design.
_Request: TypeAlias = Incomplete
_Response: TypeAlias = Incomplete
_Result: TypeAlias = Incomplete
Expand Down
2 changes: 1 addition & 1 deletion stubs/networkx/networkx/algorithms/planarity.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class PlanarEmbedding(DiGraph[_Node]):
def traverse_face(
self, v: _Node, w: _Node, mark_half_edges: MutableSet[tuple[_Node, _Node]] | None = None
) -> list[_Node]: ...
# Overriden in __init__ to always raise
# Overridden in __init__ to always raise
def add_edge(self, u_of_edge: _Node, v_of_edge: _Node, **attr: Unused) -> Never: ...
def add_edges_from(self, ebunch_to_add: Iterable[_EdgePlus[_Node]], **attr: Unused) -> Never: ...
def add_weighted_edges_from(
Expand Down
Loading