Skip to content

[v3-2-test] build(prek-hook): Check whether new "raise AirflowException" is added (#55416)#64992

Merged
Lee-W merged 2 commits intoapache:v3-2-testfrom
astronomer:backport-6f56aa1fe0a65a8bceea7c827fb3a13087f558a5
Apr 10, 2026
Merged

[v3-2-test] build(prek-hook): Check whether new "raise AirflowException" is added (#55416)#64992
Lee-W merged 2 commits intoapache:v3-2-testfrom
astronomer:backport-6f56aa1fe0a65a8bceea7c827fb3a13087f558a5

Conversation

@Lee-W
Copy link
Copy Markdown
Member

@Lee-W Lee-W commented Apr 10, 2026

  • build(prek-hook): Check whether new "raise AirflowException" is added

  • feat: add white list

  • refactor: simplify the record to use count instead of raw content

  • fixup! refactor: simplify the record to use count instead of raw content

  • refactor: filter python files that matters

  • fixup! refactor: filter python files that matters


Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.

…apache#55416)

* build(prek-hook): Check whether new "raise AirflowException" is added

* feat: add white list

* refactor: simplify the record to use count instead of raw content

* fixup! refactor: simplify the record to use count instead of raw content

* refactor: filter python files that matters

* fixup! refactor: filter python files that matters
@boring-cyborg boring-cyborg bot added area:dev-tools backport-to-v3-2-test Mark PR with this label to backport to v3-2-test branch labels Apr 10, 2026
Copy link
Copy Markdown
Member

@jason810496 jason810496 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks! Perhaps we could exclude providers from the validation.

@Lee-W Lee-W merged commit 59cb280 into apache:v3-2-test Apr 10, 2026
112 checks passed
@Lee-W Lee-W deleted the backport-6f56aa1fe0a65a8bceea7c827fb3a13087f558a5 branch April 10, 2026 07:55
@vatsrahul1001 vatsrahul1001 added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label Apr 15, 2026
@vatsrahul1001 vatsrahul1001 added this to the Airflow 3.2.1 milestone Apr 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-tools backport-to-v3-2-test Mark PR with this label to backport to v3-2-test branch changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants