From 2e348f66108b25869da4427ab51bda031e2d5f68 Mon Sep 17 00:00:00 2001 From: Scott Wallace Date: Wed, 9 Nov 2022 14:50:09 +0000 Subject: [PATCH] Update Python helpers --- .bashrc.d/python-local | 2 +- src/py-requirements-common.txt | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.bashrc.d/python-local b/.bashrc.d/python-local index 2f22aed..336937a 100644 --- a/.bashrc.d/python-local +++ b/.bashrc.d/python-local @@ -1,2 +1,2 @@ # pathadd ~/.local/bin -alias pyenv='source .pyenv/bin/activate' +alias pyenv='[[ ! -d .pyenv ]] && python3.9 -mvenv .pyenv ; source .pyenv/bin/activate' diff --git a/src/py-requirements-common.txt b/src/py-requirements-common.txt index 1e04e5f..b34f9a9 100644 --- a/src/py-requirements-common.txt +++ b/src/py-requirements-common.txt @@ -1,7 +1,5 @@ black isort -mypy pip -pylint rope typed-ast