Skip to content

Commit e07f922

Browse files
Merge branch 'main' into update-inference-types-automated-pr
2 parents e30e3e1 + 981c368 commit e07f922

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/generate_inference_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ def check_inference_types(update: bool) -> NoReturn:
354354
for file in INFERENCE_TYPES_FOLDER_PATH.glob("*.py"):
355355
if file.name in IGNORE_FILES:
356356
continue
357-
content = file.read_text()
357+
content = file.read_text().lstrip()
358358
content = _clean_deprecated_fields(content)
359359
fixed_content = fix_inference_classes(content, module_name=file.stem)
360360
fixed_content = fix_legacy_annotation(fixed_content)

0 commit comments

Comments
 (0)