This is an automated email from the ASF dual-hosted git repository.
potiuk 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 816d3dc233a Docs: Add note on running prek inside Breeze (#58039)
816d3dc233a is described below
commit 816d3dc233ae67e5d868b7e03173f0946f7a5e10
Author: Gurram Sai Ganesh <[email protected]>
AuthorDate: Fri Nov 7 20:03:38 2025 +0530
Docs: Add note on running prek inside Breeze (#58039)
* Docs: Add note on running prek inside Breeze
* Update dev/breeze/doc/03_developer_tasks.rst
---------
Co-authored-by: Jarek Potiuk <[email protected]>
---
dev/breeze/doc/03_developer_tasks.rst | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/dev/breeze/doc/03_developer_tasks.rst
b/dev/breeze/doc/03_developer_tasks.rst
index f5300aff399..5babb592f3c 100644
--- a/dev/breeze/doc/03_developer_tasks.rst
+++ b/dev/breeze/doc/03_developer_tasks.rst
@@ -274,6 +274,17 @@ For example, this following command:
prek mypy-airflow
will run mypy check for currently staged files inside ``airflow/`` excluding
providers.
+.. _breeze-dev:running-prek-in-breeze:
+
+A note on running ``prek`` inside the Breeze container
+-----------------------------------------------------
+
+While ``prek`` (pre-commit) is intended to be run on your host machine, it can
+also be run from within the Breeze shell for debugging or manual checks.
+
+If you choose to do this, you may need to mount all sources by running
+``breeze shell --mount-sources all``.
+
Selecting files to run static checks on
---------------------------------------