You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ephraimbuddy (via GitHub)" <gi...@apache.org> on 2023/09/21 18:56:53 UTC
[GitHub] [airflow] ephraimbuddy commented on a diff in pull request #34512: Ban import AirflowException from airflow
ephraimbuddy commented on code in PR #34512:
URL: https://github.com/apache/airflow/pull/34512#discussion_r1333484466
##########
pyproject.toml:
##########
@@ -144,6 +145,9 @@ combine-as-imports = true
"tests/providers/elasticsearch/log/elasticmock/__init__.py" = ["E402"]
"tests/providers/elasticsearch/log/elasticmock/utilities/__init__.py" = ["E402"]
+[tool.ruff.flake8-tidy-imports.banned-api]
+"airflow.AirflowException".msg = "Use airflow.exceptions.AirflowException instead."
Review Comment:
Should we remove this https://github.com/apache/airflow/blob/117e40490865f04aed38a18724fc88a8cf94aacc/airflow/__init__.py#L84 then?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org