Solve all flake8 warnings (#163)

Whipper is now fully PEP8 compliant.
Revised version which includes all the changes suggested by Freso.
This commit is contained in:
JoeLametta
2017-05-31 23:09:36 +02:00
committed by GitHub
parent b331f53b47
commit b6fb7e8a86
49 changed files with 614 additions and 539 deletions

View File

@@ -131,7 +131,7 @@ class WhipperLogger(result.Logger):
accurateTracks = nonHTOA - self._accuratelyRipped
lines.append("%s Some tracks could not be verified as "
"accurate (%d/%d got no match)" % (
arHeading, accurateTracks, nonHTOA))
arHeading, accurateTracks, nonHTOA))
else:
lines.append("%s All tracks accurately ripped" % arHeading)

View File

@@ -54,7 +54,7 @@ class TrackResult:
"""
number = None
filename = None
pregap = 0 # in frames
pregap = 0 # in frames
pre_emphasis = None
peak = 0.0
@@ -65,7 +65,7 @@ class TrackResult:
copyduration = 0.0
testcrc = None
copycrc = None
accurip = False # whether it's in the database
accurip = False # whether it's in the database
ARCRC = None
ARDBCRC = None
ARDBConfidence = None