You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For consistency assign the same variable name and task_id to operators.
C8301
match-callable-taskid
For consistency name the callable function '_[task_id]', e.g. PythonOperator(task_id='mytask', python_callable=_mytask).
C8302
mixed-dependency-directions
For consistency don't mix directions in a single statement, instead split over multiple statements.
C8303
task-no-dependencies
Sometimes a task without any dependency is desired, however often it is the result of a forgotten dependency.
C8304
task-context-argname
Indicate you expect Airflow task context variables in the **kwargs argument by renaming to **context.
C8305
task-context-separate-arg
To avoid unpacking kwargs from the Airflow task context in a function, you can set the needed variables as arguments in the function.
C8306
match-dagid-filename
For consistency match the DAG filename with the dag_id.
R8300
unused-xcom
Return values from a python_callable function or execute() method are automatically pushed as XCom.
W8300
basehook-top-level
Airflow executes DAG scripts periodically and anything at the top level of a script is executed. Therefore, move BaseHook calls into functions/hooks/operators.