forked from apache/airflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Nicer pyproject.toml dependency generation (apache#37114)
The pyproject.toml generated dependencies from providers are now generated in a bit more streamlined way: * the "empty" dependencies are now single-line empty arrays, to make github renderer of pyproject.toml happied (especially when showing diff in preview * instead of calculating hashes and preventing generation of pyproject.toml, we now always generate it when the pre-commit is run. This is possible because generation is stable and produces always the same results from the same input, so we can safely regenerate the file in CI with `--all-files` and the file will not be changed. This way we avoid Hash collision when we have parallel changes coming to different providers.
- Loading branch information
Showing
2 changed files
with
37 additions
and
58 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