Body
What
Allow updating old names, methods, and attributes with new ones through ruff check dags/ --fix --select AIR3.
Oudated or Done todos
Note
We currently don't autofix argument that has been removed due to astral-sh/ruff#14887 (comment). Other removing is not on the plan as of now. But could revisit once error code reorganization #48560 and autofix are done
Committer
Body
What
Allow updating old names, methods, and attributes with new ones through
ruff check dags/ --fix --select AIR3.airflow.Dataset→airflow.sdk.Asset).from airflow.datasets import Dataset, DatasetAll, DatasetAny, DatasetAlias)airflow] Apply auto fixes to cases where the names have changed in Airflow 3 (AIR301) astral-sh/ruff#17355airflow] Apply auto fixes to cases where the names have changed in Airflow 3 (AIR302) astral-sh/ruff#17553airflow] Apply auto fix to cases where name has been changed in Airflow 3 (AIR311) astral-sh/ruff#17571airflow] apply Replacement::AutoImport toAIR302astral-sh/ruff#17570airflow..DAG→airflow.sdk.DAG). This is not yet supported by any of the existing rules across the Ruff project.Oudated or Done todos
airflow] MoveAIR301toAIR002astral-sh/ruff#16978airflow] Add fix to remove deprecated keyword arguments (AIR302) astral-sh/ruff#14887airflow] Add autofix infrastructure toAIR302name checks astral-sh/ruff#16965airflow] Add autofix forAIR302method checks astral-sh/ruff#16976airflow] Add autofix forAIR302attribute checks astral-sh/ruff#16977ImportPathMovedtoProviderNamefor easier and more precise autofixNote
We currently don't autofix argument that has been removed due to astral-sh/ruff#14887 (comment). Other removing is not on the plan as of now. But could revisit once error code reorganization #48560 and autofix are done
Committer