ruff
1a79722e - [`airflow`] Extend `AIR311` rules (#17422)

Commit
159 days ago
[`airflow`] Extend `AIR311` rules (#17422) <!-- 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? --> * Extend the following AIR311 rules * `airflow.io.path.ObjectStoragePath` → `airflow.sdk.ObjectStoragePath` * `airflow.io.storage.attach` → `airflow.sdk.io.attach` * `airflow.models.dag.DAG` → `airflow.sdk.DAG` * `airflow.models.DAG` → `airflow.sdk.DAG` * `airflow.decorators.dag` → `airflow.sdk.dag` * `airflow.decorators.task` → `airflow.sdk.task` * `airflow.decorators.task_group` → `airflow.sdk.task_group` * `airflow.decorators.setup` → `airflow.sdk.setup` * `airflow.decorators.teardown` → `airflow.sdk.teardown` ## Test Plan <!-- How was it tested? --> The test case has been added to the button of the existing test fixtures, confirmed to be correct and later reorgnaized
Author
Parents
Loading