diff --git a/debian/control b/debian/control index 7c30efb..6693c1f 100644 --- a/debian/control +++ b/debian/control @@ -12,6 +12,7 @@ Build-Depends: devscripts (>= 2.11.0~), dh-python, distro-info (>= 0.2~), + flake8 (>= 3.8.0), lsb-release, python3-all, python3-apt, @@ -20,6 +21,7 @@ Build-Depends: python3-distro-info, python3-httplib2, python3-launchpadlib, + python3-nose, python3-requests , python3-setuptools, python3-termcolor , diff --git a/debian/rules b/debian/rules index 4c3e028..abcbf1e 100755 --- a/debian/rules +++ b/debian/rules @@ -5,5 +5,9 @@ override_dh_auto_clean: rm -f .coverage rm -rf .tox +override_dh_auto_test: + flake8 -v --max-line-length=99 --extend-exclude=ubuntu-archive-assistant,ubuntu_archive_assistant + nosetests3 -v ubuntutools + %: dh $@ --with python3 --buildsystem=pybuild