Skip to content
Snippets Groups Projects
Commit fd2b72fd authored by Massimiliano Culpo's avatar Massimiliano Culpo
Browse files

qa : flake8 issues

parent 04821c7b
No related branches found
No related tags found
No related merge requests found
......@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment