Skip to content

Commit 2e3e9a3

Browse files
committed
[portage] changes for strict Pyright
1 parent decd284 commit 2e3e9a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stubs/portage/portage/versions.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class _pkg_str(str):
2222
file_size: int | None = None,
2323
mtime: int | None = None,
2424
db: Any = ...,
25-
repoconfig=...,
25+
repoconfig: Any = ...,
2626
) -> Self: ...
2727
def __init__(
2828
self,
@@ -40,7 +40,7 @@ class _pkg_str(str):
4040
repoconfig: Any = ...,
4141
) -> None: ...
4242
@staticmethod
43-
def _long(var, default: int) -> int: ...
43+
def _long(var: Any, default: int) -> int: ...
4444

4545
def catpkgsplit(
4646
mydata: str | _pkg_str, silent: Literal[0, 1] = 1, eapi: str | None = None

0 commit comments

Comments
 (0)