Skip to content

Commit 2c77c61

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

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/schemaforge/generators/ef_generator.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Generator: SchemaForge IR → C# Entity Framework Core entity classes."""
2+
23
from __future__ import annotations
34

45
from ..ir import Column, ColumnType, Schema
@@ -81,7 +82,7 @@ def _property_def(self, col: Column) -> str:
8182
if col.type == ColumnType.DECIMAL:
8283
p = col.type_args.get("precision", 10)
8384
s = col.type_args.get("scale", 2)
84-
annotations.append(f"[Column(TypeName = \"decimal({p},{s})\")]")
85+
annotations.append(f'[Column(TypeName = "decimal({p},{s})")]')
8586

8687
if col.unique and not col.primary_key:
8788
# EF Index attribute

0 commit comments

Comments
 (0)