Skip to content

Fix bug in validate-operators-init pre-commit - #38014

Merged
potiuk merged 1 commit into
apache:mainfrom
shahar1:validate-operators-init-fix
Mar 10, 2024
Merged

Fix bug in validate-operators-init pre-commit#38014
potiuk merged 1 commit into
apache:mainfrom
shahar1:validate-operators-init-fix

Conversation

@shahar1

Copy link
Copy Markdown
Contributor

related: #36484,

Unfortunately, in PR #33786, I accidentally missed a condition to check that templated fields' assigned values are parameters with the same name. This PR fixes the pre-commit while ignoring 6 files in .pre-commit-config that currently do not comply with this requirement.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@shahar1
shahar1 requested review from ashb and potiuk as code ownersMarch 9, 2024 21:08
@shahar1
shahar1force-pushed the validate-operators-init-fix branch from f4247a6 to 47d477bCompareMarch 9, 2024 21:09
@eladkal

Copy link
Copy Markdown
Contributor

It looks like more files are failing on the test

@shahar1
shahar1force-pushed the validate-operators-init-fix branch from 47d477b to af93cebCompareMarch 10, 2024 17:32
@shahar1
shahar1force-pushed the validate-operators-init-fix branch from af93ceb to 38782ecCompareMarch 10, 2024 17:37
@shahar1

Copy link
Copy Markdown
ContributorAuthor

It looks like more files are failing on the test

Fixed, should be ok now

@potiuk
potiuk merged commit 6838072 into apache:mainMar 10, 2024
drajguru pushed a commit to drajguru/airflow that referenced this pull request Mar 14, 2024
@shahar1
shahar1 deleted the validate-operators-init-fix branch June 12, 2024 13:13
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@shahar1@eladkal@potiuk