Unverified Commit 407a8d30 authored by Kaiser Pister's avatar Kaiser Pister Committed by GitHub
Browse files

Update env_vars.py (#951)

Remove redundant key
parent 3cefd82d
...@@ -8,7 +8,7 @@ def to_be_ignored(env_var: str, value: str) -> bool: ...@@ -8,7 +8,7 @@ def to_be_ignored(env_var: str, value: str) -> bool:
"OLDPWD", "OLDPWD",
"SSH_AUTH_SOCK", # SSH stuff, therefore unrelated "SSH_AUTH_SOCK", # SSH stuff, therefore unrelated
"SSH_TTY", "SSH_TTY",
"GOOGLE_VM_CONFIG_LOCK_FILE", # on GCP setups, requires elevated permissions, causing problems in Jupyter notebooks "GOOGLE_VM_CONFIG_LOCK_FILE", # GCP: requires elevated permissions, causing problems in VMs and Jupyter notebooks
"HOME", # Linux shell default "HOME", # Linux shell default
"TMUX", # Terminal Multiplexer "TMUX", # Terminal Multiplexer
"XDG_DATA_DIRS", # XDG: Desktop environment stuff "XDG_DATA_DIRS", # XDG: Desktop environment stuff
...@@ -20,7 +20,6 @@ def to_be_ignored(env_var: str, value: str) -> bool: ...@@ -20,7 +20,6 @@ def to_be_ignored(env_var: str, value: str) -> bool:
"PATH", # this is for finding binaries, not libraries "PATH", # this is for finding binaries, not libraries
"LESSOPEN", # related to the `less` command "LESSOPEN", # related to the `less` command
"LESSCLOSE", "LESSCLOSE",
"GOOGLE_VM_CONFIG_LOCK_FILE", # Google Cloud stuff, contains root only paths
"_", # current Python interpreter "_", # current Python interpreter
} }
return env_var in ignorable return env_var in ignorable
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment