Skip to content

Add missing __init__.py files for some test packages#18142

Merged
potiuk merged 1 commit into
apache:mainfrom
potiuk:fix-missing-init-in-tableau-tests
Sep 10, 2021
Merged

Add missing __init__.py files for some test packages#18142
potiuk merged 1 commit into
apache:mainfrom
potiuk:fix-missing-init-in-tableau-tests

Conversation

@potiuk

@potiuk potiuk commented Sep 10, 2021

Copy link
Copy Markdown
Member

Lacl of the init.py caused failures in some specific
cases - especially when new providers have been added.

This PR adds missing __init__.py files and modifies pre-commit
check which was only implemented for main files and
example_dags. It checks if those files are present and adds them if
missing.


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.

Lacl of the __init__.py caused failures in some specific
cases - especially when new providers have been added.

This PR adds missing ``__init__.py`` files and modifies pre-commit
check which was only implemented for main files and
example_dags. It checks if those files are present and adds them if
missing.
@boring-cyborg boring-cyborg Bot added area:dev-tools area:providers area:secrets provider:amazon AWS/Amazon - related issues provider:microsoft-azure Azure-related issues provider:google Google (including GCP) related issues labels Sep 10, 2021
@potiuk potiuk requested a review from eladkal September 10, 2021 12:29
@potiuk potiuk mentioned this pull request Sep 10, 2021

@ashb ashb left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

At time's the ASF insistence on having the copyright notice in every file, even otherwise blank ones is mildly annoying 😁

@github-actions

Copy link
Copy Markdown
Contributor

The PR most likely needs to run full matrix of tests because it modifies parts of the core of Airflow. However, committers might decide to merge it quickly and take the risk. If they don't merge it quickly - please rebase it to the latest main at your convenience, or amend the last commit of the PR, and push it with --force-with-lease.

@github-actions github-actions Bot added the full tests needed We need to run full set of tests for this PR to merge label Sep 10, 2021
@potiuk potiuk merged commit 3d4bfdc into apache:main Sep 10, 2021
@potiuk potiuk deleted the fix-missing-init-in-tableau-tests branch September 10, 2021 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-tools area:providers area:secrets full tests needed We need to run full set of tests for this PR to merge provider:amazon AWS/Amazon - related issues provider:google Google (including GCP) related issues provider:microsoft-azure Azure-related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants