summaryrefslogtreecommitdiff
path: root/lib/ansible/utils/collection_loader
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2022-03-01 17:14:26 -0800
committerGitHub <noreply@github.com>2022-03-01 17:14:26 -0800
commitd31730d78129d223d0611e2f62561e52bd019e09 (patch)
treeb3b26850553b3cc2f59e1ced235dade93db3d5fe /lib/ansible/utils/collection_loader
parent7b0fb114be8ae4c6ffa628351a6e69142ee077b8 (diff)
downloadansible-d31730d78129d223d0611e2f62561e52bd019e09.tar.gz
Fixes for type hinting issues. (#77170)
Diffstat (limited to 'lib/ansible/utils/collection_loader')
-rw-r--r--lib/ansible/utils/collection_loader/_collection_finder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/utils/collection_loader/_collection_finder.py b/lib/ansible/utils/collection_loader/_collection_finder.py
index eedc5def72..5ade6a677e 100644
--- a/lib/ansible/utils/collection_loader/_collection_finder.py
+++ b/lib/ansible/utils/collection_loader/_collection_finder.py
@@ -36,7 +36,7 @@ try:
from importlib import reload as reload_module
except ImportError:
# 2.7 has a global reload function instead...
- reload_module = reload # pylint:disable=undefined-variable
+ reload_module = reload # type: ignore[name-defined] # pylint:disable=undefined-variable
try:
from importlib.util import spec_from_loader