-
Notifications
You must be signed in to change notification settings - Fork 14.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moves provider packages scripts to dev (#12082)
The change #10806 made airflow works with implicit packages when "airflow" got imported. This is a good change, however it has some unforeseen consequences. The 'provider_packages' script copy all the providers code for backports in order to refactor them to the empty "airflow" directory in provider_packages folder. The #10806 change turned that empty folder in 'airflow' package because it was in the same directory as the provider_packages scripts. Moving the scripts to dev solves this problem.
- Loading branch information
Showing
159 changed files
with
533 additions
and
9,319 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -199,7 +199,7 @@ repos: | |
hooks: | ||
- id: isort | ||
name: Run isort to sort imports | ||
types: [python] | ||
files: \.py$ | ||
# To keep consistent with the global isort skip config defined in setup.cfg | ||
exclude: ^build/.*$|^.tox/.*$|^venv/.*$ | ||
- repo: https://github.com/pycqa/pydocstyle | ||
|
@@ -335,7 +335,7 @@ repos: | |
^airflow/operators/.*$| | ||
^airflow/sensors/.*$| | ||
^airflow/providers/.*$| | ||
^provider_packages/.*$ | ||
^dev/provider_packages/.*$ | ||
- id: base-operator | ||
language: pygrep | ||
name: Make sure BaseOperator[Link] is imported from airflow.models outside of core | ||
|
@@ -438,6 +438,17 @@ repos: | |
files: ^airflow/www/.*\.(css|scss|sass)$ | ||
# Keep dependency versions in sync w/ airflow/www/package.json | ||
additional_dependencies: ['[email protected]', '[email protected]'] | ||
- id: version-sync | ||
name: Version sync | ||
files: ^airflow/version.py$|setup.py | ||
entry: ./scripts/ci/pre_commit/pre_commit_sync_version.sh | ||
language: system | ||
- id: providers-init-file | ||
name: Provider init file | ||
pass_filenames: false | ||
always_run: true | ||
entry: ./scripts/ci/pre_commit/pre_commit_check_providers_init.sh | ||
language: system | ||
- id: mermaid | ||
name: Generate mermaid images | ||
entry: ./scripts/ci/pre_commit/pre_commit_mermaid.sh | ||
|
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
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
51 changes: 0 additions & 51 deletions
51
airflow/providers/apache/cassandra/backport_provider_setup.cfg
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.