[airflow] Remove airflow.utils.dag_parsing_context.get_parsing_context (AIR301) (#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
This commit is contained in:
Wei Lee 2025-05-05 21:31:57 +08:00 committed by GitHub
parent 5a91badb8b
commit a507c1b8b3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -710,11 +710,6 @@ fn check_name(checker: &Checker, expr: &Expr, range: TextRange) {
// airflow.utils.dag_cycle_tester
["dag_cycle_tester", "test_cycle"] => Replacement::None,
// airflow.utils.dag_parsing_context
["dag_parsing_context", "get_parsing_context"] => {
Replacement::Name("airflow.sdk.get_parsing_context")
}
// airflow.utils.db
["db", "create_session"] => Replacement::None,