Disable warnings
@@ -1603,7 +1603,7 @@ class TypeSystem: # pylint:disable=too-many-public-methods
"""
glob: dict[str, Any] = {}
# Make sure typing constructs are available
- exec("from typing import *", glob) # pylint:disable=exec-used
+ exec("from typing import *", glob) # pylint:disable=exec-used # nosec
# Make globals from module available
glob.update(globs)
# Import any prefixes
@@ -1615,7 +1615,7 @@ class TypeSystem: # pylint:disable=too-many-public-methods
potential_import = potential_type.group(0).rpartition(".")[0]
_LOGGER.info("Try to import %s", potential_import)
try:
- exec("import " + potential_import, glob) # pylint:disable=exec-used
+ exec("import " + potential_import, glob) # pylint:disable=exec-used # nosec
except Exception: # pylint:disable=broad-except
# Well...
pass
