Skip to content

Commit

Permalink
Ban import Dataset from airflow package in codebase (apache#34610)
Browse files Browse the repository at this point in the history
  • Loading branch information
Taragolis authored Sep 25, 2023
1 parent c019cf1 commit 2ba0fec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ combine-as-imports = true

[tool.ruff.flake8-tidy-imports.banned-api]
"airflow.AirflowException".msg = "Use airflow.exceptions.AirflowException instead."
"airflow.Dataset".msg = "Use airflow.datasets.Dataset instead."

[tool.coverage.run]
branch = true
Expand Down

0 comments on commit 2ba0fec

Please sign in to comment.