Skip to content

Commit 3cbd211

Browse files
Add .envrc to gitignore with example file
Added .envrc to .gitignore to prevent accidental commits of environment-specific configurations. Included .envrc.example as a template for developers to copy and customize with their local environment variables. This ensures sensitive configuration remains local while providing clear guidance on required environment setup.
1 parent 2cbc435 commit 3cbd211

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.envrc.example

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
source .venv/bin/activate
2+
export UV_INDEX=https://pypi.org/simple
3+
unset PYTEST_DISABLE_PLUGIN_AUTOLOAD

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ venv/
132132
ENV/
133133
env.bak/
134134
venv.bak/
135+
.envrc
135136

136137
# Spyder project settings
137138
.spyderproject

0 commit comments

Comments
 (0)