Skip to content

Commit

Permalink
Change inserted airflow version of "update-migration-references" comm…
Browse files Browse the repository at this point in the history
…and from airflow_version='...' to airflow_version="..." apache#41275

The original one won't pass the ruff linter
  • Loading branch information
Lee-W authored Aug 6, 2024
1 parent 16abb91 commit 1544b08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/in_container/run_migration_reference.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
Expand Down

0 comments on commit 1544b08

Please sign in to comment.