-
Notifications
You must be signed in to change notification settings - Fork 16.3k
[AIRFLOW-6863] Make airflow/task and airflow/ti_deps pylint compatible #7482
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[AIRFLOW-6863] Make airflow/task and airflow/ti_deps pylint compatible #7482
Conversation
airflow/ti_deps/deps/base_ti_dep.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we had cyclic import...
Cyclic import (airflow.ti_deps.dep_context -> airflow.ti_deps.deps.dag_unpaused_dep -> airflow.ti_deps.deps.base_ti_dep) (cyclic-import)
scripts/ci/pylint_todo.txt
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've sorted this file
a50b7b2 to
9ea31b5
Compare
9ea31b5 to
bfdf5ab
Compare
Codecov Report
@@ Coverage Diff @@
## master #7482 +/- ##
==========================================
- Coverage 86.69% 86.37% -0.33%
==========================================
Files 883 884 +1
Lines 41645 41650 +5
==========================================
- Hits 36106 35977 -129
- Misses 5539 5673 +134
Continue to review full report at Codecov.
|
This PR fixes some pylint errors and moves
*_DEPSfromairflow/ti_deps/dep_context.pytoairflow/ti_dep/dependencies.pyto avoid cyclic import.Issue link: AIRFLOW-6863
Make sure to mark the boxes below before creating PR: [x]
[AIRFLOW-NNNN]. AIRFLOW-NNNN = JIRA ID** For document-only changes commit message can start with
[AIRFLOW-XXXX].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.
Read the Pull Request Guidelines for more information.