This is an automated email from the ASF dual-hosted git repository.
gopidesu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 4768cfd06a7 Fix static check code spell errors (#55667)
4768cfd06a7 is described below
commit 4768cfd06a7b054a5333d4b3bf49767b8346bc81
Author: GPK <[email protected]>
AuthorDate: Mon Sep 15 10:03:54 2025 +0100
Fix static check code spell errors (#55667)
---
contributing-docs/05_pull_requests.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/contributing-docs/05_pull_requests.rst
b/contributing-docs/05_pull_requests.rst
index 17857e2696f..9400cab569d 100644
--- a/contributing-docs/05_pull_requests.rst
+++ b/contributing-docs/05_pull_requests.rst
@@ -278,9 +278,9 @@ is not done in the constructor are detected in PRs.
Don't raise AirflowException directly
..............................................
-Our community has decided to stop adding new ``raise AirflowException`` and to
adopt the following practices when an exception is necessary. For details check
the relevant `mailing list thread
<hhttps://lists.apache.org/thread/t8bnhyqy77kq4fk7fj3fmjd5wo9kv6w0>`_.
+Our community has decided to stop adding new ``raise AirflowException`` and to
adopt the following practices when an exception is necessary. For details check
the relevant `mailing list thread
<https://lists.apache.org/thread/t8bnhyqy77kq4fk7fj3fmjd5wo9kv6w0>`_.
-1. In most cases, we should prioritize using Python’s standard exceptions
(e.g., ``ValueError``, ``TypeError``, ``OSError``)
+1. In most cases, we should prioritize using Python's standard exceptions
(e.g., ``ValueError``, ``TypeError``, ``OSError``)
instead of wrapping everything in ``AirflowException``.
2. Within ``airflow-core``, we should define and utilize more specific
exception classes under ``airflow-core/src/airflow/exceptions.py``.
3. For provider-specific implementations, exceptions should be defined within
``providers/<provider>/src/airflow/providers/<provider>/exceptions.py``.