From b31b9faa8be660bbec168f81d23b6f7764473dcc Mon Sep 17 00:00:00 2001 From: Matt Davis Date: Sun, 27 Apr 2025 18:16:58 -0400 Subject: [PATCH] Requested quiet addition 6287 --- pipenv/routines/install.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pipenv/routines/install.py b/pipenv/routines/install.py index 0094e25e8..d904152b8 100644 --- a/pipenv/routines/install.py +++ b/pipenv/routines/install.py @@ -705,7 +705,12 @@ def do_init( categories=categories, ) - if not allow_global and not deploy and "PIPENV_ACTIVE" not in os.environ: + if ( + not allow_global + and not deploy + and "PIPENV_ACTIVE" not in os.environ + and not project.s.is_quiet() + ): console.print( "To activate this project's virtualenv, run [yellow]pipenv shell[/yellow].\n" "Alternatively, run a command inside the virtualenv with [yellow]pipenv run[/yellow]."