From 2bde180d18a6d1cfcff32465de83af50f497a069 Mon Sep 17 00:00:00 2001 From: Ivo De Decker Date: Mon, 2 Sep 2019 23:38:53 +0200 Subject: [PATCH] fix codestyle issues in policies/__init_.py --- britney2/policies/__init__.py | 2 +- tests/test_pycodestyle.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/britney2/policies/__init__.py b/britney2/policies/__init__.py index 84442b9..d6390d7 100644 --- a/britney2/policies/__init__.py +++ b/britney2/policies/__init__.py @@ -56,7 +56,7 @@ class PolicyVerdict(Enum): return self in { PolicyVerdict.REJECTED_BLOCKED_BY_ANOTHER_ITEM, 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, } diff --git a/tests/test_pycodestyle.py b/tests/test_pycodestyle.py index 50cde92..dd6f276 100644 --- a/tests/test_pycodestyle.py +++ b/tests/test_pycodestyle.py @@ -15,7 +15,7 @@ EXCEPTIONS_BY_FILE = { 'britney2/excusefinder.py': 0, 'britney2/hints.py': 8, 'britney2/installability/tester.py': 4, - 'britney2/policies/__init__.py': 1, + 'britney2/policies/__init__.py': 0, 'britney2/policies/policy.py': 0, 'britney2/policies/autopkgtest.py': 0, 'tests/mock_swift.py': 2,