Browse Source

fix codestyle issues in policies/__init_.py

devuan-deployment
Ivo De Decker 1 year ago
parent
commit
2bde180d18
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      britney2/policies/__init__.py
  2. +1
    -1
      tests/test_pycodestyle.py

+ 1
- 1
britney2/policies/__init__.py View File

@@ -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,
}



+ 1
- 1
tests/test_pycodestyle.py View File

@@ -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,


Loading…
Cancel
Save