-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support pyenv and direnv #854
Conversation
According to the docs, Would it also be worth following shim resolution to automatically select a Python interpreter like we do for virtual environments created in the directory? |
Sure we can handle |
Codecov Report
@@ Coverage Diff @@
## master #854 +/- ##
==========================================
+ Coverage 63.52% 64.33% +0.81%
==========================================
Files 257 257
Lines 11850 11859 +9
Branches 2111 2112 +1
==========================================
+ Hits 7528 7630 +102
+ Misses 4314 4220 -94
- Partials 8 9 +1
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use ICurrentProcess instead of process
It is more complicated, needs separate module installer and not pip |
I guess we can implement that later as an enhancement. |
Separated pipenv work for #404, reopening |
@@ -109,7 +109,7 @@ suite('Formatting', () => { | |||
const formattedFile = path.join(targetDir, resultsName); | |||
|
|||
if (!fs.pathExistsSync(targetDir)) { | |||
fs.mkdirSync(targetDir); | |||
fs.mkdirpSync(targetDir); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lol, I couldn't be bothered to identify the problem, I just created the folder with a dummy .ts
file in the formatting
directory.
You might want to merge master
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okaaaay :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My solution was to ensure the directory always exists. I didn't check what code was looking for it.
Fixes #36
.direnv
under the workspaceFixes #847