The GitHub Actions job "Tests" on 
airflow.git/add-prek-hook-for-airflow-imports-in-shared has failed.
Run started by GitHub user potiuk (triggered by potiuk).

Head commit for run:
c8e23b08c34e0765b21387c968a6017d546abdab / Jarek Potiuk <[email protected]>
Improve prek hook to check for proper imports in shared distributions

Since we are quite close to having a completed separation between
distributions, this PR will be rebased until we will fix all the
issues - we might want to extract things from this PR as we
rebase it and move the code between distributions.

The following checks were added:

* The shared distributions (neither in src nor tests) should never
  import `from airflow.`

* The distributions that are using shared code "airlfow-core",
  "task-sdk" should never import anything from either
  "airflow_shared" or from "_shared" import coming from another
  distribution.

* Neither "apache-airflow", "apache-airflow-task-sdk", "apache-airflow-core"
  should be added as dependency in a shared distribution.

* The "devel-common" should also not refer to airflow.* - it should only
  import from airflow_shared.*

Report URL: https://github.com/apache/airflow/actions/runs/22023313981

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to