Skip to content

Commit d5c1f02

Browse files
committed
[portage] mark as partial, make stub-only type private
1 parent 1982232 commit d5c1f02

File tree

3 files changed

+4
-22
lines changed

3 files changed

+4
-22
lines changed

stubs/portage/@tests/stubtest_allowlist.txt

Lines changed: 0 additions & 19 deletions
This file was deleted.

stubs/portage/METADATA.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
version = "3.0.*"
22
upstream_repository = "https://gitweb.gentoo.org/proj/portage.git"
3+
partial_stub = true
34

45
[tool.stubtest]
5-
ci_platforms = ["linux"]
6+
ignore_missing_stub = true

stubs/portage/portage/__init__.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ from .dbapi.porttree import portagetree
55
from .package.ebuild.config import config
66

77
@type_check_only
8-
class DBRootDict(TypedDict):
8+
class _DBRootDict(TypedDict):
99
bintree: Any
1010
porttree: portagetree
1111
virtuals: Any
1212

13-
db: Mapping[str, DBRootDict]
13+
db: Mapping[str, _DBRootDict]
1414
root: str
1515
settings: config

0 commit comments

Comments
 (0)