ruff/crates/ruff_linter/resources/test/fixtures/airflow
Wei Lee c452a2cb79
[`airflow`] Move `airflow.operators.postgres_operator.Mapping` from `AIR302` to `AIR301` (#20172)
<!--
Thank you for contributing to Ruff/ty! 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? (Please prefix
with `[ty]` for ty pull
  requests.)
- Does this pull request include references to any relevant issues?
-->

## Summary

<!-- What's the purpose of the change? What does it do, and why? -->

### Why
Removal should be grouped into the same category. It doesn't matter
whether it's from a provider or not (and the only case we used to have
was not anyway).
`ProviderReplacement` is used to indicate that we have a replacement and
we might need to install an extra Python package to cater to it.

### What
Move `airflow.operators.postgres_operator.Mapping` from AIR302 to AIR301
and get rid of `ProviderReplace::None`

## Test Plan

<!-- How was it tested? -->

Update the test fixtures accordingly in the first commit and reorganize
them in the second commit
2025-09-03 10:18:17 -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`] Update `AIR301` and `AIR311` with the latest Airflow implementations (#17985) 2025-05-19 13:28:04 -04:00
AIR301_class_attribute.py [`airflow`] Update `AIR301` and `AIR311` with the latest Airflow implementations (#17985) 2025-05-19 13:28:04 -04:00
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`] Move `airflow.operators.postgres_operator.Mapping` from `AIR302` to `AIR301` (#20172) 2025-09-03 10:18:17 -04:00
AIR301_names_fix.py [`airflow`] Add unsafe fix for module moved cases (`AIR301`) (#18367) 2025-05-30 08:46:39 -04:00
AIR301_names_try.py [`airflow`] Apply try-catch guard to all AIR3 rules (`AIR3`) (#17887) 2025-05-12 17:13:41 -04:00
AIR301_provider_names_fix.py [`airflow`] Add unsafe fix for module moved cases (`AIR301`) (#18367) 2025-05-30 08:46:39 -04:00
AIR302_amazon.py [`airflow`] Add unsafe fix module moved cases (`AIR302`) (#18093) 2025-05-29 16:30:40 -04:00
AIR302_celery.py [`airflow`] Apply auto fixes to cases where the names have changed in Airflow 3 (`AIR302`) (#17553) 2025-04-28 16:35:17 -04:00
AIR302_common_sql.py [`airflow`] Add unsafe fix module moved cases (`AIR302`) (#18093) 2025-05-29 16:30:40 -04:00
AIR302_daskexecutor.py [`airflow`] Apply auto fixes to cases where the names have changed in Airflow 3 (`AIR302`) (#17553) 2025-04-28 16:35:17 -04:00
AIR302_docker.py [`airflow`] Apply auto fixes to cases where the names have changed in Airflow 3 (`AIR302`) (#17553) 2025-04-28 16:35:17 -04:00
AIR302_druid.py [`airflow`] Apply auto fixes to cases where the names have changed in Airflow 3 (`AIR302`) (#17553) 2025-04-28 16:35:17 -04:00
AIR302_fab.py [`airflow`] Apply auto fixes to cases where the names have changed in Airflow 3 (`AIR302`) (#17553) 2025-04-28 16:35:17 -04:00
AIR302_hdfs.py [`airflow`] Apply auto fixes to cases where the names have changed in Airflow 3 (`AIR302`) (#17553) 2025-04-28 16:35:17 -04:00
AIR302_hive.py [`airflow`] Add unsafe fix module moved cases (`AIR302`) (#18093) 2025-05-29 16:30:40 -04:00
AIR302_http.py [`airflow`] Apply auto fixes to cases where the names have changed in Airflow 3 (`AIR302`) (#17553) 2025-04-28 16:35:17 -04:00
AIR302_jdbc.py [`airflow`] Apply auto fixes to cases where the names have changed in Airflow 3 (`AIR302`) (#17553) 2025-04-28 16:35:17 -04:00
AIR302_kubernetes.py [`airflow`] Add unsafe fix module moved cases (`AIR302`) (#18093) 2025-05-29 16:30:40 -04:00
AIR302_mysql.py [`airflow`] Apply auto fixes to cases where the names have changed in Airflow 3 (`AIR302`) (#17553) 2025-04-28 16:35:17 -04:00
AIR302_oracle.py [`airflow`] Apply auto fixes to cases where the names have changed in Airflow 3 (`AIR302`) (#17553) 2025-04-28 16:35:17 -04:00
AIR302_papermill.py [`airflow`] Apply auto fixes to cases where the names have changed in Airflow 3 (`AIR302`) (#17553) 2025-04-28 16:35:17 -04:00
AIR302_pig.py [`airflow`] Apply auto fixes to cases where the names have changed in Airflow 3 (`AIR302`) (#17553) 2025-04-28 16:35:17 -04:00
AIR302_postgres.py [`airflow`] Apply auto fixes to cases where the names have changed in Airflow 3 (`AIR302`) (#17553) 2025-04-28 16:35:17 -04:00
AIR302_presto.py [`airflow`] Apply auto fixes to cases where the names have changed in Airflow 3 (`AIR302`) (#17553) 2025-04-28 16:35:17 -04:00
AIR302_samba.py [`airflow`] Apply auto fixes to cases where the names have changed in Airflow 3 (`AIR302`) (#17553) 2025-04-28 16:35:17 -04:00
AIR302_slack.py [`airflow`] Apply auto fixes to cases where the names have changed in Airflow 3 (`AIR302`) (#17553) 2025-04-28 16:35:17 -04:00
AIR302_smtp.py [`airflow`] Apply auto fixes to cases where the names have changed in Airflow 3 (`AIR302`) (#17553) 2025-04-28 16:35:17 -04:00
AIR302_sqlite.py [`airflow`] Apply auto fixes to cases where the names have changed in Airflow 3 (`AIR302`) (#17553) 2025-04-28 16:35:17 -04:00
AIR302_standard.py [`airflow`] Add unsafe fix module moved cases (`AIR302`) (#18093) 2025-05-29 16:30:40 -04:00
AIR302_try.py [`airflow`] Apply try-catch guard to all AIR3 rules (`AIR3`) (#17887) 2025-05-12 17:13:41 -04:00
AIR302_zendesk.py [`airflow`] Apply auto fixes to cases where the names have changed in Airflow 3 (`AIR302`) (#17553) 2025-04-28 16:35:17 -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`] Convert `DatasetOrTimeSchedule(datasets=...)` to `AssetOrTimeSchedule(assets=...)` (`AIR311`) (#20202) 2025-09-03 10:12:11 -04:00
AIR311_try.py [`airflow`] Apply try-catch guard to all AIR3 rules (`AIR3`) (#17887) 2025-05-12 17:13:41 -04:00
AIR312.py [`airflow`] Extend `AIR311` and `AIR312` rules (#20082) 2025-08-27 14:11:22 -04:00
AIR312_try.py [`airflow`] Apply try-catch guard to all AIR3 rules (`AIR3`) (#17887) 2025-05-12 17:13:41 -04:00