Skip to content

Commit a507c1b

Browse files
authored
[airflow] Remove airflow.utils.dag_parsing_context.get_parsing_context (AIR301) (astral-sh#17852)
<!-- Thank you for contributing to Ruff! To help us out with reviewing, please consider the following: - Does this pull request include a summary of the change? (See below.) - Does this pull request include a descriptive title? - Does this pull request include references to any relevant issues? --> ## Summary <!-- What's the purpose of the change? What does it do, and why? --> Remove `airflow.utils.dag_parsing_context.get_parsing_context` from AIR301 as it has been moved to AIR311 ## Test Plan <!-- How was it tested? --> the test fixture was updated in the previous PR
1 parent 5a91bad commit a507c1b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

crates/ruff_linter/src/rules/airflow/rules/removal_in_3.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -710,11 +710,6 @@ fn check_name(checker: &Checker, expr: &Expr, range: TextRange) {
710710
// airflow.utils.dag_cycle_tester
711711
["dag_cycle_tester", "test_cycle"] => Replacement::None,
712712

713-
// airflow.utils.dag_parsing_context
714-
["dag_parsing_context", "get_parsing_context"] => {
715-
Replacement::Name("airflow.sdk.get_parsing_context")
716-
}
717-
718713
// airflow.utils.db
719714
["db", "create_session"] => Replacement::None,
720715

0 commit comments

Comments
 (0)