Skip to content

Commit b33eed0

Browse files
style: apply ruff format to src/schemaforge/generators/graphql_generator.py
1 parent 2c77c61 commit b33eed0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎src/schemaforge/generators/graphql_generator.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
Converts tables/columns into GraphQL Schema Definition Language
44
type definitions with enums, directives, and nullable/required annotations.
55
"""
6+
67
from __future__ import annotations
78

89
from ..ir import Column, ColumnType, Schema, Table
@@ -156,7 +157,7 @@ def _field_to_sdl(self, col: Column) -> str:
156157

157158
# Comments
158159
if col.comment:
159-
directives.append(f'# {col.comment.replace(chr(10), " ")}')
160+
directives.append(f"# {col.comment.replace(chr(10), ' ')}")
160161

161162
if directives:
162163
field_def += f" {' '.join(directives)}"

0 commit comments

Comments
 (0)