flake8 to ignore some errors and small style improvements

This commit is contained in:
Julian Hammer
2021-03-11 12:52:34 +01:00
parent b7625a4a25
commit 63563ecabc
4 changed files with 8 additions and 6 deletions

View File

@@ -774,7 +774,8 @@ def get_description(arch, rhs_comment=None):
commented_description = ""
for line in descriptions[arch].split("\n"):
commented_description += ("{:<" + str(max_length) + "} # {}\n").format(
line, rhs_comment)
line, rhs_comment
)
description = commented_description
return description