-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve provider verification pre-commit (#33640)
There were a numer of problems with the provider verification pre-commit scripts: * It missed verification of "notifications" * It did not check if the classes or modules specified in provider yaml raised deprecation warnings * The messages produced by the script when some discrepancies were found were pretty cryptic and it was difficult to guess what kind of action should be taken to fix the problem This PR fixes all those problems: * verification of notification is performed * when importing all the classes and modules, check for the AirflowProviderDeprecationWarnings is done and treated as error * The messages produced provide clear actionable instructions on what to do and explain what are the discrepancies of expected vs. current list in a clear way
- Loading branch information
Showing
2 changed files
with
116 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters