Niels Thykier
c741b03aaf
Make PolicyVerdict ordered/comparable
...
This shortens the annyoing "a.value < b.value" to "a < b".
Signed-off-by: Niels Thykier <niels@thykier.net>
6 years ago
Paul Gevers
ccc1c25f61
Fix pycodestyle issues in test_policy.py
6 years ago
Paul Gevers
e8b5f5e631
Fix loads of pycodestyle issues in test_autopkgtest
6 years ago
Paul Gevers
7611231ee2
Fix all pycodestyle issues in b/p/autopkgtest.py
6 years ago
Niels Thykier
f4ecd86000
Pass migration items to policies (instead of src + suite)
...
Signed-off-by: Niels Thykier <niels@thykier.net>
6 years ago
Niels Thykier
6dde43a339
Create an ExcuseFinder class for computing relevant excuses
...
Signed-off-by: Niels Thykier <niels@thykier.net>
6 years ago
Niels Thykier
caf83b9357
Fix the remaining two style issues in britney2/__init__.py
...
Signed-off-by: Niels Thykier <niels@thykier.net>
6 years ago
Niels Thykier
e0b46e5196
Make the source pkg consistency checks a TargetSuite method
...
Signed-off-by: Niels Thykier <niels@thykier.net>
6 years ago
Niels Thykier
22610d86a0
Skip codestyle in stable
...
Testing this is sid is sufficient and avoids annoying cases where
pycodestyle might work differently in stable vs. sid.
Signed-off-by: Niels Thykier <niels@thykier.net>
6 years ago
Niels Thykier
bb85373210
Ignore pep-8 errors in britney2-tests
...
Signed-off-by: Niels Thykier <niels@thykier.net>
6 years ago
Niels Thykier
dc820756cf
Accept all known issues (by file)
...
Signed-off-by: Niels Thykier <niels@thykier.net>
6 years ago
Niels Thykier
822a8c712c
Migrate to pycodestyle and setup a basic config file
...
Signed-off-by: Niels Thykier <niels@thykier.net>
6 years ago
edawine
ed2aef3db1
Added pycodestyle checks
...
Changed .travis.yml to download pep8 module
Added pycodestyle conformance checks to be run by nosetests
6 years ago