ruff/crates/ruff_linter/resources/test/fixtures/airflow
Wei Lee c87e3ccb2f
[`airflow`] Add missing `AIR302` attribute check (#17115)
<!--
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? -->

attribute check was missing in the previous implementation

e.g.

```python
from airflow.api.auth.backend import basic_auth

basic_auth.auth_current_user
```

This PR adds this kind of check.

## 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-09 13:58:41 -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`] Move `AIR302` to `AIR301` and `AIR303` to `AIR302` (#17151) 2025-04-02 23:01:31 +05:30
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`] Update oudated `AIR301`, `AIR302` rules (#17123) 2025-04-07 09:45:56 -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
AIR312.py [`airflow`] Extract `AIR312` from `AIR302` rules (`AIR302`, `AIR312`) (#17152) 2025-04-09 10:43:07 -04:00