Skip to content

Commit 4dcfe67

Browse files
style: apply ruff format to src/schemaforge/type_config.py
1 parent 9863ee2 commit 4dcfe67

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/schemaforge/type_config.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
Allows users to override default type mappings between ColumnTypes
44
and format-specific type strings via YAML or JSON configuration files.
55
"""
6+
67
from __future__ import annotations
78

89
import json
@@ -82,9 +83,7 @@ def get_override(
8283
result = re.sub(r"\{[^}]+\}", "", result)
8384
return result
8485

85-
def get_custom_type(
86-
self, custom_type_name: str, fmt: str
87-
) -> str | None:
86+
def get_custom_type(self, custom_type_name: str, fmt: str) -> str | None:
8887
"""Resolve a custom type name to a format-specific type string.
8988
9089
Custom types are overrides keyed by type name (e.g. 'JSONB', 'HSTORE')

0 commit comments

Comments
 (0)