---
source: crates/ruff_linter/src/rules/airflow/mod.rs
---
AIR001 Task variable name should match the `task_id`: "my_task"
  --> AIR001.py:11:1
   |
10 | my_task = PythonOperator(task_id="my_task", callable=my_callable)
11 | incorrect_name = PythonOperator(task_id="my_task")  # AIR001
   | ^^^^^^^^^^^^^^
12 |
13 | my_task = AirbyteTriggerSyncOperator(task_id="my_task", callable=my_callable)
   |

AIR001 Task variable name should match the `task_id`: "my_task"
  --> AIR001.py:14:1
   |
13 | my_task = AirbyteTriggerSyncOperator(task_id="my_task", callable=my_callable)
14 | incorrect_name = AirbyteTriggerSyncOperator(task_id="my_task")  # AIR001
   | ^^^^^^^^^^^^^^
15 |
16 | my_task = AppflowFlowRunOperator(task_id="my_task", callable=my_callable)
   |

AIR001 Task variable name should match the `task_id`: "my_task"
  --> AIR001.py:17:1
   |
16 | my_task = AppflowFlowRunOperator(task_id="my_task", callable=my_callable)
17 | incorrect_name = AppflowFlowRunOperator(task_id="my_task")  # AIR001
   | ^^^^^^^^^^^^^^
18 |
19 | # Consider only from the `airflow.operators` (or providers operators) module
   |
