fix codestyle issues in policies/__init_.py

ubuntu/rebased
Ivo De Decker 5 years ago
parent a1debec1a8
commit 2bde180d18

@ -56,7 +56,7 @@ class PolicyVerdict(Enum):
return self in { return self in {
PolicyVerdict.REJECTED_BLOCKED_BY_ANOTHER_ITEM, PolicyVerdict.REJECTED_BLOCKED_BY_ANOTHER_ITEM,
PolicyVerdict.REJECTED_NEEDS_APPROVAL, PolicyVerdict.REJECTED_NEEDS_APPROVAL,
PolicyVerdict.REJECTED_CANNOT_DETERMINE_IF_PERMANENT, # Assuming the worst PolicyVerdict.REJECTED_CANNOT_DETERMINE_IF_PERMANENT, # Assuming the worst
PolicyVerdict.REJECTED_PERMANENTLY, PolicyVerdict.REJECTED_PERMANENTLY,
} }

@ -15,7 +15,7 @@ EXCEPTIONS_BY_FILE = {
'britney2/excusefinder.py': 0, 'britney2/excusefinder.py': 0,
'britney2/hints.py': 8, 'britney2/hints.py': 8,
'britney2/installability/tester.py': 4, 'britney2/installability/tester.py': 4,
'britney2/policies/__init__.py': 1, 'britney2/policies/__init__.py': 0,
'britney2/policies/policy.py': 0, 'britney2/policies/policy.py': 0,
'britney2/policies/autopkgtest.py': 0, 'britney2/policies/autopkgtest.py': 0,
'tests/mock_swift.py': 2, 'tests/mock_swift.py': 2,

Loading…
Cancel
Save