summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cinder/volume/api.py2
-rw-r--r--test-requirements.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/cinder/volume/api.py b/cinder/volume/api.py
index 39e3efa5d..ff98c9401 100644
--- a/cinder/volume/api.py
+++ b/cinder/volume/api.py
@@ -555,7 +555,7 @@ class API(base.Base):
if hasattr(e, 'msg'):
# ignore type (Exception has no attr "msg") error
msg = _("Unable to delete encryption key for "
- "volume: %s") % (e.msg) # type: ignore
+ "volume: %s") % (e.msg)
else:
msg = _("Unable to delete encryption key for volume.")
LOG.error(msg)
diff --git a/test-requirements.txt b/test-requirements.txt
index 10c8d6acb..0097afc52 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -18,5 +18,5 @@ SQLAlchemy-Utils>=0.37.8 # BSD License
testtools>=2.4.0 # MIT
doc8>=0.8.1 # Apache-2.0
-mypy>=0.981 # MIT
+mypy>=1.0 # MIT
moto>=2.2.5 # Apache-2.0