From 4c8a19fbab9e281c6e8e816ef6d660927e39d132 Mon Sep 17 00:00:00 2001 From: Lukas Winkler Date: Fri, 1 Dec 2017 19:23:02 +0100 Subject: [PATCH] reformat tests.py --- tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests.py b/tests.py index 2ccbe2d..6036f09 100755 --- a/tests.py +++ b/tests.py @@ -13,7 +13,6 @@ # You should have received a copy of the GNU General Public License along with # this program. If not, see . import json -import sys from glob import glob from subprocess import Popen, PIPE from urllib.parse import urlparse @@ -21,6 +20,7 @@ from urllib.parse import urlparse import hashlib import os import re +import sys import yaml from PIL import Image @@ -174,7 +174,7 @@ def test_if_build_script_is_deleting_all_unneeded_files(): deleted_files.extend(glob(pattern)) for file in all_files: if not any(s in file for s in deleted_files) and not ( - file.startswith("./dist") or file.startswith("./tmp") or file.startswith("./vendor") + file.startswith("./dist") or file.startswith("./tmp") or file.startswith("./vendor") ) and file != "./README.md": print_error("{file} should be deleted by the build script".format(file=file)) error = True