Skip to content
Open
Changes from 1 commit
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
Prev Previous commit
Next Next commit
[portage] fixes in versions module
  • Loading branch information
Tatsh committed Mar 18, 2026
commit 24a1c7e95af6634ea3bc8c1d15ec76396ba2ea4a
4 changes: 2 additions & 2 deletions stubs/portage/portage/versions.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
def __new__(
cls,
cpv: str,
metadata: dict[str, Incomplete] | None = ...,
metadata: dict[str, Incomplete] | None = None,
settings: config | None = None,
eapi: str | None = None,
repo: str | None = None,
Expand All @@ -21,13 +21,13 @@
build_id: str | None = None,
file_size: int | None = None,
mtime: int | None = None,
db=...,

Check failure on line 24 in stubs/portage/portage/versions.pyi

View workflow job for this annotation

GitHub Actions / pyright: Run test cases (Linux, 3.13)

Type annotation is missing for parameter "db" (reportMissingParameterType)
repoconfig=...,

Check failure on line 25 in stubs/portage/portage/versions.pyi

View workflow job for this annotation

GitHub Actions / pyright: Run test cases (Linux, 3.13)

Type annotation is missing for parameter "repoconfig" (reportMissingParameterType)
) -> Self: ...
def __init__(
self,
cpv: str,
metadata: dict[str, Incomplete] | None = ...,
metadata: dict[str, Incomplete] | None = None,
settings: config | None = None,
eapi: str | None = None,
repo: str | None = None,
Expand Down
Loading