pull/86266/merge
🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) 21 hours ago committed by GitHub
commit 1d35dce392
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -34,7 +34,7 @@ class MultiGalaxyAPIProxy:
self._offline = offline # Prevent all GalaxyAPI calls
@property
def is_offline_mode_requested(self):
def is_offline_mode_requested(self) -> bool:
return self._offline
def _assert_that_offline_mode_is_not_requested(self) -> None:
@ -117,7 +117,7 @@ class MultiGalaxyAPIProxy:
else self._apis
)
last_err: t.Optional[Exception]
last_err: Exception
for api in api_lookup_order:
try:

@ -23,6 +23,9 @@ ignore_missing_imports = True
[mypy-ansible_test.*]
ignore_missing_imports = True
[mypy-ansible.galaxy.collection.galaxy_api_proxy]
strict_optional = True
[mypy-ansible.galaxy.dependency_resolution.*]
strict_optional = True

Loading…
Cancel
Save