mypy: Add reported issue to 'type: ignore' line in generate_manifest.py.

This commit is contained in:
neiljp (Neil Pilgrim) 2017-11-15 10:57:11 -08:00 committed by Tim Abbott
parent d929cdb91e
commit 59b86b5b68

View file

@ -34,15 +34,15 @@ class GenerateManifest(distutils.cmd.Command):
# type: () -> None # type: () -> None
if self.release: if self.release:
generate_release_manifest() generate_release_manifest()
self.announce( # type: ignore # error: "GenerateManifest" has no attribute "announce" self.announce( # type: ignore # https://github.com/zulip/python-zulip-api/issues/142
'Generating a MANIFEST for a PyPA release of zulip_bots.', 'Generating a MANIFEST for a PyPA release of zulip_bots.',
level=distutils.log.INFO # type: ignore # error: Module has no attribute "INFO" level=distutils.log.INFO # type: ignore # https://github.com/zulip/python-zulip-api/issues/142
) )
else: else:
generate_dev_manifest() generate_dev_manifest()
self.announce( # type: ignore self.announce( # type: ignore # https://github.com/zulip/python-zulip-api/issues/142
'Generating a MANIFEST for zulip_bots\' development.', 'Generating a MANIFEST for zulip_bots\' development.',
level=distutils.log.INFO # type: ignore level=distutils.log.INFO # type: ignore # https://github.com/zulip/python-zulip-api/issues/142
) )
def get_test_fixtures(): def get_test_fixtures():