diff --git a/scripts/in_container/run_migration_reference.py b/scripts/in_container/run_migration_reference.py index 77060f0d1d373..6dcc08357e4b0 100755 --- a/scripts/in_container/run_migration_reference.py +++ b/scripts/in_container/run_migration_reference.py @@ -88,7 +88,7 @@ def has_version(content): def insert_version(old_content, file): new_content = re.sub( r"(^depends_on.*)", - lambda x: f"{x.group(1)}\nairflow_version = '{airflow_version}'", + lambda x: f'{x.group(1)}\nairflow_version = "{airflow_version}"', old_content, flags=re.MULTILINE, )