You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2024/06/18 14:17:46 UTC

(airflow) branch main updated: Change the pre-commit installing command to use pipx instead of pyenv (#40266)

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 1f7be6f63e Change the pre-commit installing command to use pipx instead of pyenv (#40266)
1f7be6f63e is described below

commit 1f7be6f63e48d1861f913f2f5449a7a9e1bfd1fb
Author: gomtangman <48...@users.noreply.github.com>
AuthorDate: Tue Jun 18 23:17:40 2024 +0900

    Change the pre-commit installing command to use pipx instead of pyenv (#40266)
    
    * Add a note that ensures pyenv install before installing pre-commit
    
    * Change the pre-commit installing command to use pipx instead of pyenv
    
    ---------
    
    Co-authored-by: healer <he...@woowahan.com>
---
 contributing-docs/03_contributors_quick_start.rst | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/contributing-docs/03_contributors_quick_start.rst b/contributing-docs/03_contributors_quick_start.rst
index 68931d88d1..a717f10d4b 100644
--- a/contributing-docs/03_contributors_quick_start.rst
+++ b/contributing-docs/03_contributors_quick_start.rst
@@ -468,8 +468,7 @@ on macOS, install via
 
 .. code-block:: bash
 
-  pyenv activate airflow-env
-  pip install pre-commit
+  pipx install pre-commit
 
 3. Go to your project directory