Skip to content

Update ruff linting rules to support replacing deprecated ones with new ones in Airflow 3 #48220

Description

@Lee-W

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

  • I acknowledge that I am a maintainer/committer of the Apache Airflow project.

Metadata

Metadata

Assignees

Labels

kind:metaHigh-level information important to the community

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions