Skip to content

Add Ruff rules to ban Core imports from Task SDK internals #53588

@amoghrajesh

Description

@amoghrajesh

Body

Airflow Core imports from Task SDK internal modules, creating unwanted coupling.

Add Ruff banned-api rules to prevent core from importing SDK internals. (https://docs.astral.sh/ruff/rules/banned-api/).

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

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions