Set line length to 120 characters (#2599)

This commit is contained in:
Jirka Borovec
2023-07-13 17:37:20 +02:00
committed by GitHub
parent de80ff4b91
commit 13e178a3ab
192 changed files with 1455 additions and 4433 deletions
+1 -5
View File
@@ -112,11 +112,7 @@ class PythonHeader:
if len(bodyLines) > 0 and bodyLines[0] != "":
newLines.append("")
if (
"import " not in bodyLines[0]
and bodyLines[0] != '"""'
and not bodyLines[0].startswith("##########")
):
if "import " not in bodyLines[0] and bodyLines[0] != '"""' and not bodyLines[0].startswith("##########"):
newLines.append("")
newLines += bodyLines