Ruff
903 rules ruff@0.17.0
Complete effective rule inventory.
Rules
No enabled Ruff rules match this search.
-
A001Variable
{name}is shadowing a Python builtin -
A002Function argument
{name}is shadowing a Python builtin -
A003Python builtin is shadowed by class attribute
{name}from {row} -
A004Import
{name}is shadowing a Python builtin -
A005Module
{name}shadows a Python standard-library module -
A006Lambda argument
{name}is shadowing a Python builtin -
AIR001Task variable name should match the
task_id: "{task_id}" -
AIR002DAGor@dagshould have an explicitscheduleargument -
AIR003Variable.get()outside of a task -
AIR004@task.branchcan be replaced with@task.short_circuit -
AIR201Use the
.outputattribute on the task object for "{task_id}" instead ofxcom_pullin a template string -
AIR202@task-decorated function relies onmultiple_outputsinference -
AIR301{deprecated}is removed in Airflow 3.0 -
AIR302{deprecated}is moved into{provider}provider in Airflow 3.0; -
AIR303{function_name}signature is changed in Airflow 3.0 -
AIR304{function_name}()produces a value that changes at runtime; using it in a Dag or task argument causes infinite Dag version creation -
AIR311{deprecated}is removed in Airflow 3.0; It still works in Airflow 3.0 but is expected to be removed in a future version. -
AIR312{deprecated}is deprecated and moved into{provider}provider in Airflow 3.0; It still works in Airflow 3.0 but is expected to be removed in a future version. -
AIR321{deprecated}is moved in Airflow 3.1 -
ANN001Missing type annotation for function argument
{name} -
ANN002Missing type annotation for
*{name} -
ANN003Missing type annotation for
**{name} -
ANN201Missing return type annotation for public function
{name} -
ANN202Missing return type annotation for private function
{name} -
ANN204Missing return type annotation for special method
{name} -
ANN205Missing return type annotation for staticmethod
{name} -
ANN206Missing return type annotation for classmethod
{name} -
ANN401Dynamically typed expressions (typing.Any) are disallowed in
{name} -
ARG001Unused function argument:
{name} -
ARG002Unused method argument:
{name} -
ARG003Unused class method argument:
{name} -
ARG004Unused static method argument:
{name}