mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-04-12 02:41:07 +00:00
d/rules: override build tests to use flake8 and nosetests3
This commit is contained in:
parent
91e0babd93
commit
3428a65b1c
2
debian/control
vendored
2
debian/control
vendored
@ -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 <!nocheck>,
|
||||
python3-setuptools,
|
||||
python3-termcolor <!nocheck>,
|
||||
|
4
debian/rules
vendored
4
debian/rules
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user