You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.
To accommodate workflows using such tools as pyenv, support file-local environment variables.
pyenv has a pyenv local command, which writes a .python-version file. Shelling into that directory, assuming pyenv is properly enabled in the .profile setup, leads to that specific Python being loaded. In conjunction with pyenv-virtualenv, virtualenvs are supported that get loaded into a $VIRTUAL_ENV variable.
(Sorry for the explanation. Saw in a different issue here on GitHub the statement that the Python ecosystem has no .ruby-version. It, in fact, does.)
Given that, you can obviously set up workspaces. And each Python source file can be tied to a specific $VIRTUAL_ENV/bin/pylint and $PYTHONPATH. Given that, it'd be nice to use these, assuming that pylint is launched per file.
I'm willing to submit a PR, if someone will validate that this is even possible.
The text was updated successfully, but these errors were encountered:
It seems possible. As long as you end up with an absolute path (or command that exists in the PATH var that atom has), the command will work. If you want to draw it out in a bit more detail before creating the PR, I am happy to further validate its potential to work.
To accommodate workflows using such tools as
pyenv
, support file-local environment variables.pyenv
has apyenv local
command, which writes a.python-version
file. Shelling into that directory, assumingpyenv
is properly enabled in the.profile
setup, leads to that specific Python being loaded. In conjunction withpyenv-virtualenv
, virtualenvs are supported that get loaded into a$VIRTUAL_ENV
variable.(Sorry for the explanation. Saw in a different issue here on GitHub the statement that the Python ecosystem has no
.ruby-version
. It, in fact, does.)Given that, you can obviously set up workspaces. And each Python source file can be tied to a specific
$VIRTUAL_ENV/bin/pylint
and$PYTHONPATH
. Given that, it'd be nice to use these, assuming thatpylint
is launched per file.I'm willing to submit a PR, if someone will validate that this is even possible.
The text was updated successfully, but these errors were encountered: