Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pipenv: Ignore additional pipenv output #41

Merged
merged 1 commit into from
Nov 6, 2024

Commits on Aug 14, 2024

  1. pipenv: Ignore additional pipenv output

    Pipenv can print additional output that would end up in our variables, e. g., if
    a `.env` file exists, `python-shell-virtualenv-root` ends up as `Loading .env
    environment variables...\n/home/user/.local/share/virtualenvs/project`.
    
    This change is to:
    
    a) call pipenv with `--quiet`, so that it does not print extra information in
       the first place;
    
    b) pass `'(t nil)` as `buffer` argument to `process-file`, so that it ignores
       stderr and the buffer only contains stdout.
    
    Signed-off-by: Thomas Schneider <[email protected]>
    qsuscs committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    924af5d View commit details
    Browse the repository at this point in the history