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

@@ -12,6 +12,7 @@ def read(fname):
with open(path, encoding="utf-8") as file:
return file.read()
def check_file(fname):
path = os.path.join(os.path.dirname(__file__), fname)
if os.path.exists(path):