You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While running pre-commit run -a we are getting the following errors:
[INFO] Initializing environment for https://github.com/ambv/black.
[INFO] Initializing environment for https://github.com/pre-commit/mirrors-mypy.
[INFO] Initializing environment for https://gitlab.com/pycqa/flake8.
[INFO] Initializing environment for https://github.com/PyCQA/bandit.
[INFO] Installing environment for https://github.com/ambv/black.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/pre-commit/mirrors-mypy.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://gitlab.com/pycqa/flake8.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/PyCQA/bandit.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
black....................................................................Passed
mypy.....................................................................Passed
flake8...................................................................Passed
bandit...................................................................Failed
- hook id: bandit
- exit code: 1
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 159, in _get_data_for_path
with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/root/.cache/python-entrypoints/f19b92266f6bda6c62cc5af4288cdb0b0c78752137145dce0ad62618458b5512'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/bin/bandit", line 5, in <module>
from bandit.cli.main import main
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/__init__.py", line 19, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/__init__.py", line 17, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/config.py", line 12, in <module>
from bandit.core import extension_loader
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 109, in <module>
MANAGER = Manager()
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 25, in __init__
self.load_formatters(formatters_namespace)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 33, in load_formatters
verify_requirements=False,
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 136, in __init__
verify_requirements)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 218, in _load_plugins
for ep in self.list_entry_points():
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 207, in list_entry_points
eps = list(_cache.get_group_all(self.namespace))
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 179, in get_group_all
data = self._get_data_for_path(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 162, in _get_data_for_path
data = _build_cacheable_data(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 119, in _build_cacheable_data
item = ep[:] # convert namedtuple to tuple
TypeError: 'EntryPoint' object is not subscriptable
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 159, in _get_data_for_path
with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/root/.cache/python-entrypoints/f19b92266f6bda6c62cc5af4288cdb0b0c78752137145dce0ad62618458b5512'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/bin/bandit", line 5, in <module>
from bandit.cli.main import main
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/__init__.py", line 19, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/__init__.py", line 17, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/config.py", line 12, in <module>
from bandit.core import extension_loader
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 109, in <module>
MANAGER = Manager()
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 25, in __init__
self.load_formatters(formatters_namespace)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 33, in load_formatters
verify_requirements=False,
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 136, in __init__
verify_requirements)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 218, in _load_plugins
for ep in self.list_entry_points():
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 207, in list_entry_points
eps = list(_cache.get_group_all(self.namespace))
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 179, in get_group_all
data = self._get_data_for_path(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 162, in _get_data_for_path
data = _build_cacheable_data(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 119, in _build_cacheable_data
item = ep[:] # convert namedtuple to tuple
TypeError: 'EntryPoint' object is not subscriptable
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 159, in _get_data_for_path
with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/root/.cache/python-entrypoints/f19b92266f6bda6c62cc5af4288cdb0b0c78752137145dce0ad62618458b5512'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/bin/bandit", line 5, in <module>
from bandit.cli.main import main
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/__init__.py", line 19, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/__init__.py", line 17, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/config.py", line 12, in <module>
from bandit.core import extension_loader
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 109, in <module>
MANAGER = Manager()
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 25, in __init__
self.load_formatters(formatters_namespace)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 33, in load_formatters
verify_requirements=False,
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 136, in __init__
verify_requirements)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 218, in _load_plugins
for ep in self.list_entry_points():
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 207, in list_entry_points
eps = list(_cache.get_group_all(self.namespace))
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 179, in get_group_all
data = self._get_data_for_path(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 162, in _get_data_for_path
data = _build_cacheable_data(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 119, in _build_cacheable_data
item = ep[:] # convert namedtuple to tuple
TypeError: 'EntryPoint' object is not subscriptable
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 159, in _get_data_for_path
with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/root/.cache/python-entrypoints/f19b92266f6bda6c62cc5af4288cdb0b0c78752137145dce0ad62618458b5512'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/bin/bandit", line 5, in <module>
from bandit.cli.main import main
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/__init__.py", line 19, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/__init__.py", line 17, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/config.py", line 12, in <module>
from bandit.core import extension_loader
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 109, in <module>
MANAGER = Manager()
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 25, in __init__
self.load_formatters(formatters_namespace)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 33, in load_formatters
verify_requirements=False,
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 136, in __init__
verify_requirements)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 218, in _load_plugins
for ep in self.list_entry_points():
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 207, in list_entry_points
eps = list(_cache.get_group_all(self.namespace))
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 179, in get_group_all
data = self._get_data_for_path(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 162, in _get_data_for_path
data = _build_cacheable_data(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 119, in _build_cacheable_data
item = ep[:] # convert namedtuple to tuple
TypeError: 'EntryPoint' object is not subscriptable
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 159, in _get_data_for_path
with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/root/.cache/python-entrypoints/f19b92266f6bda6c62cc5af4288cdb0b0c78752137145dce0ad62618458b5512'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/bin/bandit", line 5, in <module>
from bandit.cli.main import main
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/__init__.py", line 19, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/__init__.py", line 17, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/config.py", line 12, in <module>
from bandit.core import extension_loader
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 109, in <module>
MANAGER = Manager()
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 25, in __init__
self.load_formatters(formatters_namespace)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 33, in load_formatters
verify_requirements=False,
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 136, in __init__
verify_requirements)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 218, in _load_plugins
for ep in self.list_entry_points():
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 207, in list_entry_points
eps = list(_cache.get_group_all(self.namespace))
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 179, in get_group_all
data = self._get_data_for_path(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 162, in _get_data_for_path
data = _build_cacheable_data(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 119, in _build_cacheable_data
item = ep[:] # convert namedtuple to tuple
TypeError: 'EntryPoint' object is not subscriptable
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 159, in _get_data_for_path
with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/root/.cache/python-entrypoints/f19b92266f6bda6c62cc5af4288cdb0b0c78752137145dce0ad62618458b5512'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/bin/bandit", line 5, in <module>
from bandit.cli.main import main
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/__init__.py", line 19, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/__init__.py", line 17, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/config.py", line 12, in <module>
from bandit.core import extension_loader
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 109, in <module>
MANAGER = Manager()
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 25, in __init__
self.load_formatters(formatters_namespace)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 33, in load_formatters
verify_requirements=False,
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 136, in __init__
verify_requirements)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 218, in _load_plugins
for ep in self.list_entry_points():
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 207, in list_entry_points
eps = list(_cache.get_group_all(self.namespace))
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 179, in get_group_all
data = self._get_data_for_path(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 162, in _get_data_for_path
data = _build_cacheable_data(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 119, in _build_cacheable_data
item = ep[:] # convert namedtuple to tuple
TypeError: 'EntryPoint' object is not subscriptable
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 159, in _get_data_for_path
with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/root/.cache/python-entrypoints/f19b92266f6bda6c62cc5af4288cdb0b0c78752137145dce0ad62618458b5512'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/bin/bandit", line 5, in <module>
from bandit.cli.main import main
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/__init__.py", line 19, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/__init__.py", line 17, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/config.py", line 12, in <module>
from bandit.core import extension_loader
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 109, in <module>
MANAGER = Manager()
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 25, in __init__
self.load_formatters(formatters_namespace)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 33, in load_formatters
verify_requirements=False,
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 136, in __init__
verify_requirements)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 218, in _load_plugins
for ep in self.list_entry_points():
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 207, in list_entry_points
eps = list(_cache.get_group_all(self.namespace))
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 179, in get_group_all
data = self._get_data_for_path(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 162, in _get_data_for_path
data = _build_cacheable_data(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 119, in _build_cacheable_data
item = ep[:] # convert namedtuple to tuple
TypeError: 'EntryPoint' object is not subscriptable
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 159, in _get_data_for_path
with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/root/.cache/python-entrypoints/f19b92266f6bda6c62cc5af4288cdb0b0c78752137145dce0ad62618458b5512'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/bin/bandit", line 5, in <module>
from bandit.cli.main import main
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/__init__.py", line 19, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/__init__.py", line 17, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/config.py", line 12, in <module>
from bandit.core import extension_loader
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 109, in <module>
MANAGER = Manager()
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 25, in __init__
self.load_formatters(formatters_namespace)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 33, in load_formatters
verify_requirements=False,
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 136, in __init__
verify_requirements)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 218, in _load_plugins
for ep in self.list_entry_points():
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 207, in list_entry_points
eps = list(_cache.get_group_all(self.namespace))
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 179, in get_group_all
data = self._get_data_for_path(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 162, in _get_data_for_path
data = _build_cacheable_data(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 119, in _build_cacheable_data
item = ep[:] # convert namedtuple to tuple
TypeError: 'EntryPoint' object is not subscriptable
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 159, in _get_data_for_path
with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/root/.cache/python-entrypoints/f19b92266f6bda6c62cc5af4288cdb0b0c78752137145dce0ad62618458b5512'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/bin/bandit", line 5, in <module>
from bandit.cli.main import main
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/__init__.py", line 19, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/__init__.py", line 17, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/config.py", line 12, in <module>
from bandit.core import extension_loader
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 109, in <module>
MANAGER = Manager()
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 25, in __init__
self.load_formatters(formatters_namespace)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 33, in load_formatters
verify_requirements=False,
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 136, in __init__
verify_requirements)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 218, in _load_plugins
for ep in self.list_entry_points():
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 207, in list_entry_points
eps = list(_cache.get_group_all(self.namespace))
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 179, in get_group_all
data = self._get_data_for_path(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 162, in _get_data_for_path
data = _build_cacheable_data(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 119, in _build_cacheable_data
item = ep[:] # convert namedtuple to tuple
TypeError: 'EntryPoint' object is not subscriptable
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 159, in _get_data_for_path
with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/root/.cache/python-entrypoints/f19b92266f6bda6c62cc5af4288cdb0b0c78752137145dce0ad62618458b5512'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/bin/bandit", line 5, in <module>
from bandit.cli.main import main
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/__init__.py", line 19, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/__init__.py", line 17, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/config.py", line 12, in <module>
from bandit.core import extension_loader
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 109, in <module>
MANAGER = Manager()
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 25, in __init__
self.load_formatters(formatters_namespace)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 33, in load_formatters
verify_requirements=False,
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 136, in __init__
verify_requirements)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 218, in _load_plugins
for ep in self.list_entry_points():
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 207, in list_entry_points
eps = list(_cache.get_group_all(self.namespace))
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 179, in get_group_all
data = self._get_data_for_path(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 162, in _get_data_for_path
data = _build_cacheable_data(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 119, in _build_cacheable_data
item = ep[:] # convert namedtuple to tuple
TypeError: 'EntryPoint' object is not subscriptable
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 159, in _get_data_for_path
with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/root/.cache/python-entrypoints/f19b92266f6bda6c62cc5af4288cdb0b0c78752137145dce0ad62618458b5512'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/bin/bandit", line 5, in <module>
from bandit.cli.main import main
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/__init__.py", line 19, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/__init__.py", line 17, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/config.py", line 12, in <module>
from bandit.core import extension_loader
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 109, in <module>
MANAGER = Manager()
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 25, in __init__
self.load_formatters(formatters_namespace)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 33, in load_formatters
verify_requirements=False,
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 136, in __init__
verify_requirements)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 218, in _load_plugins
for ep in self.list_entry_points():
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 207, in list_entry_points
eps = list(_cache.get_group_all(self.namespace))
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 179, in get_group_all
data = self._get_data_for_path(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 162, in _get_data_for_path
data = _build_cacheable_data(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 119, in _build_cacheable_data
item = ep[:] # convert namedtuple to tuple
TypeError: 'EntryPoint' object is not subscriptable
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 159, in _get_data_for_path
with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/root/.cache/python-entrypoints/f19b92266f6bda6c62cc5af4288cdb0b0c78752137145dce0ad62618458b5512'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/bin/bandit", line 5, in <module>
from bandit.cli.main import main
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/__init__.py", line 19, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/__init__.py", line 17, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/config.py", line 12, in <module>
from bandit.core import extension_loader
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 109, in <module>
MANAGER = Manager()
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 25, in __init__
self.load_formatters(formatters_namespace)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 33, in load_formatters
verify_requirements=False,
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 136, in __init__
verify_requirements)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 218, in _load_plugins
for ep in self.list_entry_points():
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 207, in list_entry_points
eps = list(_cache.get_group_all(self.namespace))
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 179, in get_group_all
data = self._get_data_for_path(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 162, in _get_data_for_path
data = _build_cacheable_data(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 119, in _build_cacheable_data
item = ep[:] # convert namedtuple to tuple
TypeError: 'EntryPoint' object is not subscriptable
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 159, in _get_data_for_path
with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/root/.cache/python-entrypoints/f19b92266f6bda6c62cc5af4288cdb0b0c78752137145dce0ad62618458b5512'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/bin/bandit", line 5, in <module>
from bandit.cli.main import main
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/__init__.py", line 19, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/__init__.py", line 17, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/config.py", line 12, in <module>
from bandit.core import extension_loader
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 109, in <module>
MANAGER = Manager()
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 25, in __init__
self.load_formatters(formatters_namespace)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 33, in load_formatters
verify_requirements=False,
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 136, in __init__
verify_requirements)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 218, in _load_plugins
for ep in self.list_entry_points():
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 207, in list_entry_points
eps = list(_cache.get_group_all(self.namespace))
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 179, in get_group_all
data = self._get_data_for_path(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 162, in _get_data_for_path
data = _build_cacheable_data(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 119, in _build_cacheable_data
item = ep[:] # convert namedtuple to tuple
TypeError: 'EntryPoint' object is not subscriptable
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 159, in _get_data_for_path
with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/root/.cache/python-entrypoints/f19b92266f6bda6c62cc5af4288cdb0b0c78752137145dce0ad62618458b5512'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/bin/bandit", line 5, in <module>
from bandit.cli.main import main
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/__init__.py", line 19, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/__init__.py", line 17, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/config.py", line 12, in <module>
from bandit.core import extension_loader
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 109, in <module>
MANAGER = Manager()
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 25, in __init__
self.load_formatters(formatters_namespace)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 33, in load_formatters
verify_requirements=False,
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 136, in __init__
verify_requirements)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 218, in _load_plugins
for ep in self.list_entry_points():
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 207, in list_entry_points
eps = list(_cache.get_group_all(self.namespace))
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 179, in get_group_all
data = self._get_data_for_path(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 162, in _get_data_for_path
data = _build_cacheable_data(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 119, in _build_cacheable_data
item = ep[:] # convert namedtuple to tuple
TypeError: 'EntryPoint' object is not subscriptable
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 159, in _get_data_for_path
with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/root/.cache/python-entrypoints/f19b92266f6bda6c62cc5af4288cdb0b0c78752137145dce0ad62618458b5512'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/bin/bandit", line 5, in <module>
from bandit.cli.main import main
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/__init__.py", line 19, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/__init__.py", line 17, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/config.py", line 12, in <module>
from bandit.core import extension_loader
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 109, in <module>
MANAGER = Manager()
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 25, in __init__
self.load_formatters(formatters_namespace)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 33, in load_formatters
verify_requirements=False,
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 136, in __init__
verify_requirements)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 218, in _load_plugins
for ep in self.list_entry_points():
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 207, in list_entry_points
eps = list(_cache.get_group_all(self.namespace))
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 179, in get_group_all
data = self._get_data_for_path(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 162, in _get_data_for_path
data = _build_cacheable_data(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 119, in _build_cacheable_data
item = ep[:] # convert namedtuple to tuple
TypeError: 'EntryPoint' object is not subscriptable
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 159, in _get_data_for_path
with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/root/.cache/python-entrypoints/f19b92266f6bda6c62cc5af4288cdb0b0c78752137145dce0ad62618458b5512'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/bin/bandit", line 5, in <module>
from bandit.cli.main import main
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/__init__.py", line 19, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/__init__.py", line 17, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/config.py", line 12, in <module>
from bandit.core import extension_loader
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 109, in <module>
MANAGER = Manager()
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 25, in __init__
self.load_formatters(formatters_namespace)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 33, in load_formatters
verify_requirements=False,
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 136, in __init__
verify_requirements)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 218, in _load_plugins
for ep in self.list_entry_points():
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 207, in list_entry_points
eps = list(_cache.get_group_all(self.namespace))
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 179, in get_group_all
data = self._get_data_for_path(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 162, in _get_data_for_path
data = _build_cacheable_data(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 119, in _build_cacheable_data
item = ep[:] # convert namedtuple to tuple
TypeError: 'EntryPoint' object is not subscriptable
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 159, in _get_data_for_path
with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/root/.cache/python-entrypoints/f19b92266f6bda6c62cc5af4288cdb0b0c78752137145dce0ad62618458b5512'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/bin/bandit", line 5, in <module>
from bandit.cli.main import main
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/__init__.py", line 19, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/__init__.py", line 17, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/config.py", line 12, in <module>
from bandit.core import extension_loader
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 109, in <module>
MANAGER = Manager()
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 25, in __init__
self.load_formatters(formatters_namespace)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 33, in load_formatters
verify_requirements=False,
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 136, in __init__
verify_requirements)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 218, in _load_plugins
for ep in self.list_entry_points():
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 207, in list_entry_points
eps = list(_cache.get_group_all(self.namespace))
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 179, in get_group_all
data = self._get_data_for_path(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 162, in _get_data_for_path
data = _build_cacheable_data(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 119, in _build_cacheable_data
item = ep[:] # convert namedtuple to tuple
TypeError: 'EntryPoint' object is not subscriptable
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 159, in _get_data_for_path
with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/root/.cache/python-entrypoints/f19b92266f6bda6c62cc5af4288cdb0b0c78752137145dce0ad62618458b5512'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/bin/bandit", line 5, in <module>
from bandit.cli.main import main
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/__init__.py", line 19, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/__init__.py", line 17, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/config.py", line 12, in <module>
from bandit.core import extension_loader
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 109, in <module>
MANAGER = Manager()
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 25, in __init__
self.load_formatters(formatters_namespace)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 33, in load_formatters
verify_requirements=False,
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 136, in __init__
verify_requirements)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 218, in _load_plugins
for ep in self.list_entry_points():
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 207, in list_entry_points
eps = list(_cache.get_group_all(self.namespace))
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 179, in get_group_all
data = self._get_data_for_path(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 162, in _get_data_for_path
data = _build_cacheable_data(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 119, in _build_cacheable_data
item = ep[:] # convert namedtuple to tuple
TypeError: 'EntryPoint' object is not subscriptable
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 159, in _get_data_for_path
with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/root/.cache/python-entrypoints/f19b92266f6bda6c62cc5af4288cdb0b0c78752137145dce0ad62618458b5512'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/bin/bandit", line 5, in <module>
from bandit.cli.main import main
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/__init__.py", line 19, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/__init__.py", line 17, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/config.py", line 12, in <module>
from bandit.core import extension_loader
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 109, in <module>
MANAGER = Manager()
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 25, in __init__
self.load_formatters(formatters_namespace)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 33, in load_formatters
verify_requirements=False,
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 136, in __init__
verify_requirements)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 218, in _load_plugins
for ep in self.list_entry_points():
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 207, in list_entry_points
eps = list(_cache.get_group_all(self.namespace))
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 179, in get_group_all
data = self._get_data_for_path(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 162, in _get_data_for_path
data = _build_cacheable_data(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 119, in _build_cacheable_data
item = ep[:] # convert namedtuple to tuple
TypeError: 'EntryPoint' object is not subscriptable
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 159, in _get_data_for_path
with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/root/.cache/python-entrypoints/f19b92266f6bda6c62cc5af4288cdb0b0c78752137145dce0ad62618458b5512'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/bin/bandit", line 5, in <module>
from bandit.cli.main import main
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/__init__.py", line 19, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/__init__.py", line 17, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/config.py", line 12, in <module>
from bandit.core import extension_loader
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 109, in <module>
MANAGER = Manager()
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 25, in __init__
self.load_formatters(formatters_namespace)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 33, in load_formatters
verify_requirements=False,
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 136, in __init__
verify_requirements)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 218, in _load_plugins
for ep in self.list_entry_points():
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 207, in list_entry_points
eps = list(_cache.get_group_all(self.namespace))
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 179, in get_group_all
data = self._get_data_for_path(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 162, in _get_data_for_path
data = _build_cacheable_data(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 119, in _build_cacheable_data
item = ep[:] # convert namedtuple to tuple
TypeError: 'EntryPoint' object is not subscriptable
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 159, in _get_data_for_path
with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/root/.cache/python-entrypoints/f19b92266f6bda6c62cc5af4288cdb0b0c78752137145dce0ad62618458b5512'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/bin/bandit", line 5, in <module>
from bandit.cli.main import main
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/__init__.py", line 19, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/__init__.py", line 17, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/config.py", line 12, in <module>
from bandit.core import extension_loader
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 109, in <module>
MANAGER = Manager()
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 25, in __init__
self.load_formatters(formatters_namespace)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 33, in load_formatters
verify_requirements=False,
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 136, in __init__
verify_requirements)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 218, in _load_plugins
for ep in self.list_entry_points():
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 207, in list_entry_points
eps = list(_cache.get_group_all(self.namespace))
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 179, in get_group_all
data = self._get_data_for_path(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 162, in _get_data_for_path
data = _build_cacheable_data(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 119, in _build_cacheable_data
item = ep[:] # convert namedtuple to tuple
TypeError: 'EntryPoint' object is not subscriptable
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 159, in _get_data_for_path
with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/root/.cache/python-entrypoints/f19b92266f6bda6c62cc5af4288cdb0b0c78752137145dce0ad62618458b5512'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/bin/bandit", line 5, in <module>
from bandit.cli.main import main
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/__init__.py", line 19, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/__init__.py", line 17, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/config.py", line 12, in <module>
from bandit.core import extension_loader
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 109, in <module>
MANAGER = Manager()
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 25, in __init__
self.load_formatters(formatters_namespace)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 33, in load_formatters
verify_requirements=False,
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 136, in __init__
verify_requirements)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 218, in _load_plugins
for ep in self.list_entry_points():
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 207, in list_entry_points
eps = list(_cache.get_group_all(self.namespace))
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 179, in get_group_all
data = self._get_data_for_path(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 162, in _get_data_for_path
data = _build_cacheable_data(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 119, in _build_cacheable_data
item = ep[:] # convert namedtuple to tuple
TypeError: 'EntryPoint' object is not subscriptable
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 159, in _get_data_for_path
with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/root/.cache/python-entrypoints/f19b92266f6bda6c62cc5af4288cdb0b0c78752137145dce0ad62618458b5512'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/bin/bandit", line 5, in <module>
from bandit.cli.main import main
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/__init__.py", line 19, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/__init__.py", line 17, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/config.py", line 12, in <module>
from bandit.core import extension_loader
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 109, in <module>
MANAGER = Manager()
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 25, in __init__
self.load_formatters(formatters_namespace)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 33, in load_formatters
verify_requirements=False,
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 136, in __init__
verify_requirements)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 218, in _load_plugins
for ep in self.list_entry_points():
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 207, in list_entry_points
eps = list(_cache.get_group_all(self.namespace))
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 179, in get_group_all
data = self._get_data_for_path(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 162, in _get_data_for_path
data = _build_cacheable_data(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 119, in _build_cacheable_data
item = ep[:] # convert namedtuple to tuple
TypeError: 'EntryPoint' object is not subscriptable
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 159, in _get_data_for_path
with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/root/.cache/python-entrypoints/f19b92266f6bda6c62cc5af4288cdb0b0c78752137145dce0ad62618458b5512'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/bin/bandit", line 5, in <module>
from bandit.cli.main import main
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/__init__.py", line 19, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/__init__.py", line 17, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/config.py", line 12, in <module>
from bandit.core import extension_loader
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 109, in <module>
MANAGER = Manager()
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 25, in __init__
self.load_formatters(formatters_namespace)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 33, in load_formatters
verify_requirements=False,
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 136, in __init__
verify_requirements)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 218, in _load_plugins
for ep in self.list_entry_points():
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 207, in list_entry_points
eps = list(_cache.get_group_all(self.namespace))
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 179, in get_group_all
data = self._get_data_for_path(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 162, in _get_data_for_path
data = _build_cacheable_data(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 119, in _build_cacheable_data
item = ep[:] # convert namedtuple to tuple
TypeError: 'EntryPoint' object is not subscriptable
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 159, in _get_data_for_path
with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/root/.cache/python-entrypoints/f19b92266f6bda6c62cc5af4288cdb0b0c78752137145dce0ad62618458b5512'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/bin/bandit", line 5, in <module>
from bandit.cli.main import main
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/__init__.py", line 19, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/__init__.py", line 17, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/config.py", line 12, in <module>
from bandit.core import extension_loader
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 109, in <module>
MANAGER = Manager()
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 25, in __init__
self.load_formatters(formatters_namespace)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 33, in load_formatters
verify_requirements=False,
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 136, in __init__
verify_requirements)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 218, in _load_plugins
for ep in self.list_entry_points():
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 207, in list_entry_points
eps = list(_cache.get_group_all(self.namespace))
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 179, in get_group_all
data = self._get_data_for_path(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 162, in _get_data_for_path
data = _build_cacheable_data(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 119, in _build_cacheable_data
item = ep[:] # convert namedtuple to tuple
TypeError: 'EntryPoint' object is not subscriptable
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 159, in _get_data_for_path
with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/root/.cache/python-entrypoints/f19b92266f6bda6c62cc5af4288cdb0b0c78752137145dce0ad62618458b5512'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/bin/bandit", line 5, in <module>
from bandit.cli.main import main
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/__init__.py", line 19, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/__init__.py", line 17, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/config.py", line 12, in <module>
from bandit.core import extension_loader
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 109, in <module>
MANAGER = Manager()
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 25, in __init__
self.load_formatters(formatters_namespace)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 33, in load_formatters
verify_requirements=False,
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 136, in __init__
verify_requirements)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 218, in _load_plugins
for ep in self.list_entry_points():
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 207, in list_entry_points
eps = list(_cache.get_group_all(self.namespace))
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 179, in get_group_all
data = self._get_data_for_path(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 162, in _get_data_for_path
data = _build_cacheable_data(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 119, in _build_cacheable_data
item = ep[:] # convert namedtuple to tuple
TypeError: 'EntryPoint' object is not subscriptable
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 159, in _get_data_for_path
with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/root/.cache/python-entrypoints/f19b92266f6bda6c62cc5af4288cdb0b0c78752137145dce0ad62618458b5512'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/bin/bandit", line 5, in <module>
from bandit.cli.main import main
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/__init__.py", line 19, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/__init__.py", line 17, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/config.py", line 12, in <module>
from bandit.core import extension_loader
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 109, in <module>
MANAGER = Manager()
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 25, in __init__
self.load_formatters(formatters_namespace)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 33, in load_formatters
verify_requirements=False,
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 136, in __init__
verify_requirements)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 218, in _load_plugins
for ep in self.list_entry_points():
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 207, in list_entry_points
eps = list(_cache.get_group_all(self.namespace))
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 179, in get_group_all
data = self._get_data_for_path(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 162, in _get_data_for_path
data = _build_cacheable_data(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 119, in _build_cacheable_data
item = ep[:] # convert namedtuple to tuple
TypeError: 'EntryPoint' object is not subscriptable
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 159, in _get_data_for_path
with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/root/.cache/python-entrypoints/f19b92266f6bda6c62cc5af4288cdb0b0c78752137145dce0ad62618458b5512'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/bin/bandit", line 5, in <module>
from bandit.cli.main import main
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/__init__.py", line 19, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/__init__.py", line 17, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/config.py", line 12, in <module>
from bandit.core import extension_loader
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 109, in <module>
MANAGER = Manager()
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 25, in __init__
self.load_formatters(formatters_namespace)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 33, in load_formatters
verify_requirements=False,
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 136, in __init__
verify_requirements)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 218, in _load_plugins
for ep in self.list_entry_points():
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 207, in list_entry_points
eps = list(_cache.get_group_all(self.namespace))
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 179, in get_group_all
data = self._get_data_for_path(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 162, in _get_data_for_path
data = _build_cacheable_data(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 119, in _build_cacheable_data
item = ep[:] # convert namedtuple to tuple
TypeError: 'EntryPoint' object is not subscriptable
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 159, in _get_data_for_path
with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/root/.cache/python-entrypoints/f19b92266f6bda6c62cc5af4288cdb0b0c78752137145dce0ad62618458b5512'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/bin/bandit", line 5, in <module>
from bandit.cli.main import main
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/__init__.py", line 19, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/__init__.py", line 17, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/config.py", line 12, in <module>
from bandit.core import extension_loader
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 109, in <module>
MANAGER = Manager()
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 25, in __init__
self.load_formatters(formatters_namespace)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 33, in load_formatters
verify_requirements=False,
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 136, in __init__
verify_requirements)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 218, in _load_plugins
for ep in self.list_entry_points():
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 207, in list_entry_points
eps = list(_cache.get_group_all(self.namespace))
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 179, in get_group_all
data = self._get_data_for_path(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 162, in _get_data_for_path
data = _build_cacheable_data(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 119, in _build_cacheable_data
item = ep[:] # convert namedtuple to tuple
TypeError: 'EntryPoint' object is not subscriptable
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 159, in _get_data_for_path
with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/root/.cache/python-entrypoints/f19b92266f6bda6c62cc5af4288cdb0b0c78752137145dce0ad62618458b5512'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/bin/bandit", line 5, in <module>
from bandit.cli.main import main
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/__init__.py", line 19, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/__init__.py", line 17, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/config.py", line 12, in <module>
from bandit.core import extension_loader
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 109, in <module>
MANAGER = Manager()
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 25, in __init__
self.load_formatters(formatters_namespace)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 33, in load_formatters
verify_requirements=False,
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 136, in __init__
verify_requirements)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 218, in _load_plugins
for ep in self.list_entry_points():
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 207, in list_entry_points
eps = list(_cache.get_group_all(self.namespace))
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 179, in get_group_all
data = self._get_data_for_path(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 162, in _get_data_for_path
data = _build_cacheable_data(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 119, in _build_cacheable_data
item = ep[:] # convert namedtuple to tuple
TypeError: 'EntryPoint' object is not subscriptable
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 159, in _get_data_for_path
with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/root/.cache/python-entrypoints/f19b92266f6bda6c62cc5af4288cdb0b0c78752137145dce0ad62618458b5512'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/bin/bandit", line 5, in <module>
from bandit.cli.main import main
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/__init__.py", line 19, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/__init__.py", line 17, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/config.py", line 12, in <module>
from bandit.core import extension_loader
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 109, in <module>
MANAGER = Manager()
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 25, in __init__
self.load_formatters(formatters_namespace)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 33, in load_formatters
verify_requirements=False,
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 136, in __init__
verify_requirements)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 218, in _load_plugins
for ep in self.list_entry_points():
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 207, in list_entry_points
eps = list(_cache.get_group_all(self.namespace))
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 179, in get_group_all
data = self._get_data_for_path(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 162, in _get_data_for_path
data = _build_cacheable_data(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 119, in _build_cacheable_data
item = ep[:] # convert namedtuple to tuple
TypeError: 'EntryPoint' object is not subscriptable
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 159, in _get_data_for_path
with open(filename, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/root/.cache/python-entrypoints/f19b92266f6bda6c62cc5af4288cdb0b0c78752137145dce0ad62618458b5512'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/bin/bandit", line 5, in <module>
from bandit.cli.main import main
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/__init__.py", line 19, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/__init__.py", line 17, in <module>
from bandit.core import config # noqa
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/config.py", line 12, in <module>
from bandit.core import extension_loader
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 109, in <module>
MANAGER = Manager()
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 25, in __init__
self.load_formatters(formatters_namespace)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/bandit/core/extension_loader.py", line 33, in load_formatters
verify_requirements=False,
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 136, in __init__
verify_requirements)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 218, in _load_plugins
for ep in self.list_entry_points():
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/extension.py", line 207, in list_entry_points
eps = list(_cache.get_group_all(self.namespace))
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 179, in get_group_all
data = self._get_data_for_path(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 162, in _get_data_for_path
data = _build_cacheable_data(path)
File "/root/.cache/pre-commit/repoosi62b_2/py_env-python3.7/lib/python3.7/site-packages/stevedore/_cache.py", line 119, in _build_cacheable_data
item = ep[:] # convert namedtuple to tuple
TypeError: 'EntryPoint' object is not subscriptable
Reproduction steps
1. Run `pre-commit run -a`
2. Bandit step fails
Expected behavior
To succeed
Bandit version
1.7.0 (Default)
Python version
3.7
Additional context
No response
The text was updated successfully, but these errors were encountered:
Here's the source: python/importlib_metadata#339
workaround: install version 4.7.1 of importlib_metadata (or add importlib_metadata != 4.8.0 to your installation lines)
Describe the bug
I'm using the following configuration in pre-commit:
While running
pre-commit run -a
we are getting the following errors:Reproduction steps
1. Run `pre-commit run -a` 2. Bandit step fails
Expected behavior
To succeed
Bandit version
1.7.0 (Default)
Python version
3.7
Additional context
No response
The text was updated successfully, but these errors were encountered: