qa : flake8 issues
This commit is contained in:
parent
04821c7be8
commit
fd2b72fd0f
1 changed files with 3 additions and 1 deletions
|
@ -126,7 +126,9 @@ def versions(self):
|
|||
"""Adds a version() call to the package for each version found."""
|
||||
max_len = max(len(str(v)) for v, h in self.version_hash_tuples)
|
||||
format = " version(%%-%ds, '%%s')" % (max_len + 2)
|
||||
return '\n'.join(format % ("'%s'" % v, h) for v, h in self.version_hash_tuples)
|
||||
return '\n'.join(
|
||||
format % ("'%s'" % v, h) for v, h in self.version_hash_tuples
|
||||
)
|
||||
|
||||
|
||||
class AutotoolsGuess(DefaultGuess):
|
||||
|
|
Loading…
Reference in a new issue