ruff/crates/ruff_linter/resources/test/fixtures/airflow
Wei Lee 1a79722ee0
[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
2025-04-16 12:40:15 -04:00
..
AIR001.py Check AIR001 from builtin or providers operators module (#14631) 2024-12-04 13:30:47 +05:30
AIR002.py [airflow] Move AIR301 to AIR002 (#16978) 2025-04-02 20:37:35 +05:30
AIR301_airflow_plugin.py [airflow] Move AIR302 to AIR301 and AIR303 to AIR302 (#17151) 2025-04-02 23:01:31 +05:30
AIR301_args.py [airflow] Extract AIR311 from AIR301 rules (AIR301, AIR311) (#17310) 2025-04-16 11:06:57 -04:00
AIR301_class_attribute.py [airflow] Move AIR302 to AIR301 and AIR303 to AIR302 (#17151) 2025-04-02 23:01:31 +05:30
AIR301_context.py [airflow] Move AIR302 to AIR301 and AIR303 to AIR302 (#17151) 2025-04-02 23:01:31 +05:30
AIR301_names.py [airflow] Extract AIR311 from AIR301 rules (AIR301, AIR311) (#17310) 2025-04-16 11:06:57 -04:00
AIR301_names_try.py [airflow] Move AIR302 to AIR301 and AIR303 to AIR302 (#17151) 2025-04-02 23:01:31 +05:30
AIR302.py [airflow] Add missing AIR302 attribute check (#17115) 2025-04-09 13:58:41 -04:00
AIR311_args.py [airflow] Extract AIR311 from AIR301 rules (AIR301, AIR311) (#17310) 2025-04-16 11:06:57 -04:00
AIR311_names.py [airflow] Extend AIR311 rules (#17422) 2025-04-16 12:40:15 -04:00
AIR312.py [airflow] Extract AIR312 from AIR302 rules (AIR302, AIR312) (#17152) 2025-04-09 10:43:07 -04:00