flake8 tests no longer need to specifically exclude ubuntu-archive-assistant

Now that ubuntu-archive-assistant is removed, we can simply test everything
with flake8
This commit is contained in:
Dan Streetman 2021-06-04 17:48:50 -04:00
parent 732ff00cac
commit dbd453876e
4 changed files with 4 additions and 5 deletions

2
debian/control vendored
View File

@ -12,7 +12,7 @@ Build-Depends:
devscripts (>= 2.11.0~), devscripts (>= 2.11.0~),
dh-python, dh-python,
distro-info (>= 0.2~), distro-info (>= 0.2~),
flake8 (>= 3.8.0), flake8,
lsb-release, lsb-release,
python3-all, python3-all,
python3-apt, python3-apt,

2
debian/rules vendored
View File

@ -7,7 +7,7 @@ override_dh_auto_clean:
override_dh_auto_test: override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
flake8 -v --max-line-length=99 --extend-exclude=ubuntu-archive-assistant,ubuntu_archive_assistant flake8 -v --max-line-length=99
nosetests3 -v ubuntutools nosetests3 -v ubuntutools
endif endif

View File

@ -1,6 +1,6 @@
Test-Command: flake8 -v --max-line-length=99 --extend-exclude=ubuntu-archive-assistant,ubuntu_archive_assistant Test-Command: flake8 -v --max-line-length=99
Depends: Depends:
flake8 (>= 3.8.0), flake8,
Restrictions: allow-stderr Restrictions: allow-stderr
Test-Command: nosetests3 -v ubuntutools Test-Command: nosetests3 -v ubuntutools

View File

@ -20,4 +20,3 @@ commands = nosetests -v --with-coverage --cover-package=ubuntutools {posargs:ubu
[flake8] [flake8]
verbose = 2 verbose = 2
max-line-length = 99 max-line-length = 99
extend-exclude = ubuntu-archive-assistant,ubuntu_archive_assistant