Add pre-commit to validate provider __init__ is matching the template #44024
Labels
area:CI
Airflow's tests and continious integration
area:dev-env
CI, pre-commit, pylint and other changes that do not change the behavior of the final code
kind:meta
High-level information important to the community
kind:task
A task that needs to be completed as part of a larger issue
Body
To avoid issues like: #44017
Some info about templating of
__init__
https://github.com/apache/airflow/blob/main/dev/README_RELEASE_PROVIDER_PACKAGES.md#optional-apply-template-updates
The pre commit should fail if someone modify the init to a pattern that doesn't match the template
Committer
The text was updated successfully, but these errors were encountered: