diff --git a/.envrc b/.envrc.template similarity index 87% rename from .envrc rename to .envrc.template index 5a64450..2238f5e 100644 --- a/.envrc +++ b/.envrc.template @@ -9,7 +9,7 @@ layout_virtualenv() { local pyversion=$1 local pvenv=$2 if [ -n "$(which pyenv virtualenv)" ]; then - pyenv virtualenv --force --quiet ${pyversion} ${pvenv}-${pyversion} + pyenv virtualenv --force --quiet ${pyversion} ${pvenv} fi pyenv local --unset } @@ -44,10 +44,10 @@ else fi # Activate Environment -echo -e "${TAG} Activating pyenv virtualenv ${pvenv}-${pyversion}" +echo -e "${TAG} Activating pyenv virtualenv ${pvenv}" use python ${pyversion} layout virtualenv ${pyversion} ${pvenv} -layout activate ${pvenv}-${pyversion} +layout activate ${pvenv} if ! [ -x "$(command -v poetry)" ]; then pip3 install poetry pip install --upgrade pip diff --git a/.gitignore b/.gitignore index ca43213..bb86069 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,13 @@ +### dbt ### +target/ +dbt_modules/ +dbt_packages/ +logs/ + +### direnv ### +.direnv +.envrc + # Custom __pycache__/ notebook/.ipynb_checkpoints/ @@ -7,9 +17,6 @@ notebook/.ipynb_checkpoints/ .ruff_cache/ logs/ -# Created by https://www.toptal.com/developers/gitignore/api/maven,java,intellij+all,intellij+iml,git -# Edit at https://www.toptal.com/developers/gitignore?templates=maven,java,intellij+all,intellij+iml,git - ### Git ### # Created by git for backups. To disable backups in Git: # $ git config --global mergetool.keepBackup false