style: ensure trailing newlines

This commit is contained in:
jakob.scheid committed 2026-09-01 16:54:03 +02:00
1 parent 3a05718612
commit 3428c54d99
48 files changed
+48 -48

No files matched your search

+1 -1
View File
@@ -19,4 +19,4 @@ from . import namespaces
__all__ = [
*_core__all__,
'namespaces'
]
]
+1 -1
View File
@@ -951,4 +951,4 @@ class PythonDocumentationGenerator:
self.project_directory / 'src',
self.include_sections,
self.kwargs
)
)
+1 -1
View File
@@ -170,4 +170,4 @@ class PythonASTArgumentsListParser:
else:
arguments.append(PythonFunctionArgument(self.ast_arguments_list.kwarg.arg, PythonArgumentKind.KWARGS, None, ast.unparse(self.ast_arguments_list.kwarg.annotation)))
return arguments
return arguments
@@ -229,4 +229,4 @@ class PythonClassDefinition(PythonDefinition):
for expr in node.body
if isinstance(expr, (ast.FunctionDef, ast.AsyncFunctionDef, ast.ClassDef))
]
)
)
+1 -1
View File
@@ -46,4 +46,4 @@ class PythonDocstring:
:rtype: docstring_parser.Docstring
'''
return docstring_parser.parse(self.docstring)
return docstring_parser.parse(self.docstring)
+1 -1
View File
@@ -186,4 +186,4 @@ class PythonModuleNamespace(PythonNamespace):
super().__init__(name)
def __eq__(self, value: PythonModuleNamespace) -> bool:
return self.name == value.name
return self.name == value.name