[game-data-packager] 24/25: Put tests through pyflakes

Simon McVittie smcv at debian.org
Sun Oct 9 21:26:07 UTC 2016


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch master
in repository game-data-packager.

commit 63beb31d41eb0db21c73cd13ff41b0243b3f9693
Author: Simon McVittie <smcv at debian.org>
Date:   Sun Oct 9 21:24:08 2016 +0100

    Put tests through pyflakes
---
 Makefile             | 2 +-
 tests/hashed_file.py | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 22658d3..9b14d4a 100644
--- a/Makefile
+++ b/Makefile
@@ -106,7 +106,7 @@ clean:
 	rm -rf tools/__pycache__
 
 check:
-	LC_ALL=C $(PYFLAKES3) game_data_packager/*.py game_data_packager/*/*.py runtime/*.py tools/*.py || :
+	LC_ALL=C $(PYFLAKES3) game_data_packager/*.py game_data_packager/*/*.py runtime/*.py tests/*.py tools/*.py || :
 	LC_ALL=C GDP_UNINSTALLED=1 PYTHONPATH=. $(PYTHON) tests/deb.py
 	LC_ALL=C GDP_UNINSTALLED=1 PYTHONPATH=. $(PYTHON) tests/hashed_file.py
 	LC_ALL=C GDP_UNINSTALLED=1 PYTHONPATH=. $(PYTHON) tests/rpm.py
diff --git a/tests/hashed_file.py b/tests/hashed_file.py
index 5b1f2ad..efe71bc 100755
--- a/tests/hashed_file.py
+++ b/tests/hashed_file.py
@@ -16,7 +16,6 @@
 # /usr/share/common-licenses/GPL-2.
 
 import hashlib
-import io
 import sys
 import unittest
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git



More information about the Pkg-games-commits mailing list