GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore(gitlab): fix implicit re-exports for mpypy · python-gitlab/python-gitlab@981b844

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • gitlab
    • __init__.py
    • const.py
    • exceptions.py
  • pyproject.toml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎gitlab/__init__.py‎

Copy file name to clipboardExpand all lines: gitlab/__init__.py
+14Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,17 @@ def __getattr__(name: str) -> Any:
5151
)
5252
return getattr(gitlab.const, name)
5353
raise AttributeError(f"module {__name__} has no attribute {name}")
54+
55+
56+
__all__ = [
57+
"__author__",
58+
"__copyright__",
59+
"__email__",
60+
"__license__",
61+
"__title__",
62+
"__version__",
63+
"Gitlab",
64+
"GitlabList",
65+
]
66+
__all__.extend(gitlab.const._DEPRECATED)
67+
__all__.extend(gitlab.exceptions.__all__)
Collapse file

‎gitlab/const.py‎

Copy file name to clipboardExpand all lines: gitlab/const.py
+8Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,3 +143,11 @@ class SearchScope(Enum):
143143
SEARCH_SCOPE_PROJECT_NOTES = SearchScope.PROJECT_NOTES.value
144144

145145
USER_AGENT: str = f"{__title__}/{__version__}"
146+
147+
__all__ = [
148+
"AccessLevel",
149+
"Visibility",
150+
"NotificationLevel",
151+
"SearchScope",
152+
]
153+
__all__.extend(_DEPRECATED)
Collapse file

‎gitlab/exceptions.py‎

Copy file name to clipboardExpand all lines: gitlab/exceptions.py
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,3 +322,6 @@ def wrapped_f(*args: Any, **kwargs: Any) -> Any:
322322
return cast(__F, wrapped_f)
323323

324324
return wrap
325+
326+
327+
__all__ = [name for name in dir() if name.endswith("Error")]
Collapse file

‎pyproject.toml‎

Copy file name to clipboardExpand all lines: pyproject.toml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ warn_unused_ignores = true
2121
# disallow_any_generics = true
2222
# disallow_untyped_calls = true
2323
# no_implicit_optional = true
24-
# no_implicit_reexport = true
24+
no_implicit_reexport = true
2525
# strict_equality = true
2626
# warn_return_any = true
2727

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.