Bump mypy to 1.0
mypy 1.0 no longer needs one "type: ignore" comment that we have currently, which must be fixed to resolve an unused-ignore error. Depends-On: Ide07cf7f7c5175026f897e0a1686911c0c93da21 Change-Id: If2e7e94af0725421403ca8bfad0e5fdfd513ab12
This commit is contained in:
parent
5a3664ae2e
commit
6c0bbe10a9
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user