Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion utils/generate_inference_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ def check_inference_types(update: bool) -> NoReturn:
for file in INFERENCE_TYPES_FOLDER_PATH.glob("*.py"):
if file.name in IGNORE_FILES:
continue
content = file.read_text()
content = file.read_text().lstrip()
content = _clean_deprecated_fields(content)
fixed_content = fix_inference_classes(content, module_name=file.stem)
fixed_content = fix_legacy_annotation(fixed_content)
Expand Down
Loading