Skip to content

Commit 277e331

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
1 parent affbad7 commit 277e331

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

stdlib/re.pyi

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,9 @@ class Pattern(Generic[AnyStr]):
136136
@overload
137137
def fullmatch(self: Pattern[str], string: str, pos: int = 0, endpos: int = sys.maxsize) -> Match[str] | None: ...
138138
@overload
139-
def fullmatch(self: Pattern[bytes], string: ReadableBuffer, pos: int = 0, endpos: int = sys.maxsize) -> Match[bytes] | None: ...
139+
def fullmatch(
140+
self: Pattern[bytes], string: ReadableBuffer, pos: int = 0, endpos: int = sys.maxsize
141+
) -> Match[bytes] | None: ...
140142
@overload
141143
def fullmatch(self, string: AnyStr, pos: int = 0, endpos: int = sys.maxsize) -> Match[AnyStr] | None: ...
142144
@overload
@@ -155,7 +157,9 @@ class Pattern(Generic[AnyStr]):
155157
@overload
156158
def finditer(self: Pattern[str], string: str, pos: int = 0, endpos: int = sys.maxsize) -> Iterator[Match[str]]: ...
157159
@overload
158-
def finditer(self: Pattern[bytes], string: ReadableBuffer, pos: int = 0, endpos: int = sys.maxsize) -> Iterator[Match[bytes]]: ...
160+
def finditer(
161+
self: Pattern[bytes], string: ReadableBuffer, pos: int = 0, endpos: int = sys.maxsize
162+
) -> Iterator[Match[bytes]]: ...
159163
@overload
160164
def finditer(self, string: AnyStr, pos: int = 0, endpos: int = sys.maxsize) -> Iterator[Match[AnyStr]]: ...
161165
@overload

stubs/openpyxl/openpyxl/descriptors/nested.pyi

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,6 @@ class EmptyTag(Nested[bool], Bool[_N]): # type: ignore[misc]
271271
def __set__(self, instance: Serialisable | Strict, value: _HasTagAndGet[_ConvertibleToBool] | _ConvertibleToBool) -> None: ...
272272
def from_tree(self, node: Unused) -> Literal[True]: ...
273273
@overload
274-
def to_tree(
275-
self, tagname: Unused = None, value: None = None, namespace: Unused = None
276-
) -> None: ...
274+
def to_tree(self, tagname: Unused = None, value: None = None, namespace: Unused = None) -> None: ...
277275
@overload
278276
def to_tree(self, tagname: str, value: object, namespace: str | None = None) -> Element: ...

0 commit comments

Comments
 (0)