Fix(python-generator): make generated signatures compliant with PEP 8 #35

Merged
jakob.scheid merged 3 commits from fix/python-signatures-pep-8-compliance into main 2026-09-22 16:15:36 +02:00
Showing only changes of commit cc786a6c69 - Show all commits
+4 -1
View File
@@ -142,7 +142,10 @@ class PythonFunctionArgument:
str_repr += ': ' + self.annotation
if self.default is not None:
str_repr += ' = ' + self.default
if self.annotation is None:
str_repr += '=' + self.default
else:
str_repr += ' = ' + self.default
return str_repr