lint: Add a lint check for bare type: ignores.

This commit is contained in:
Tim Abbott
2017-07-27 15:59:36 -07:00
parent e6e3bbb780
commit 53e4d8562b
6 changed files with 10 additions and 5 deletions

View File

@@ -61,7 +61,7 @@ def get_old_conf(output_filename):
secrets_file = six.moves.configparser.RawConfigParser()
secrets_file.read(output_filename)
return dict(secrets_file.items("secrets")) # type: ignore
return dict(secrets_file.items("secrets")) # type: ignore # likely typeshed issue
def generate_secrets(development=False):
# type: (bool) -> None