run flake8 on all .py files

This commit is contained in:
Mike Fährmann
2022-02-23 22:47:05 +01:00
parent fb2dbb04e2
commit b337e51e91
3 changed files with 5 additions and 2 deletions

View File

@@ -201,7 +201,8 @@ def main():
if sys.stdin:
urls += util.parse_inputfile(sys.stdin, log)
else:
log.warning("input file: stdin is not readable")
log.warning(
"input file: stdin is not readable")
else:
with open(inputfile, encoding="utf-8") as file:
urls += util.parse_inputfile(file, log)