-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Labels
Description
I found this new error that seems to have escaped a type: ignore when trying out the mypy 0.501:
zerver/storage.py:47: error: "super" has no attribute "post_process"
The code in question is https://github.com/zulip/zulip/blob/master/zerver/storage.py, the relevant block is the super_ret line below:
super_class = super(AddHeaderMixin, self) # type: ignore # https://github.com/JukkaL/mypy/issues/857
if hasattr(super_class, 'post_process'):
super_ret = super_class.post_process(paths, dry_run, **kwargs)
else:
super_ret = []
I'll just add another type: ignore on the super_ret line for now, but I think it's a bug that mypy didn't suppress that.
Reactions are currently unavailable