Comments (3)
@pzelnip I'm assuming you want it to respect the Python environment set by the Python extension, is that right? I agree that's something that should be added. But as a work around, what I'm doing currently is launching vscode as a subprocess of a shell with my virtual environment activated.
from black-vscode.
Correct, I'd expect the python.pythonPath
setting to be used.
from black-vscode.
@pzelnip just published a fix for this. Thanks for the heads up :)
from black-vscode.
Related Issues (15)
- Coudn't make it work in VSCODE HOT 1
- RuntimeError: Click will abort further execution because Python 3 was configured to use ASCII HOT 6
- Support black optional flags HOT 1
- Broken by black==18.6b0 HOT 1
- Support for suppressing unable to parse error message HOT 2
- CLI output appended to source file HOT 1
- `Failed to format: unknown error.` on every attempt to format HOT 8
- Configurable black path HOT 5
- Command "black" not found. Try 'pip install black'. HOT 16
- Add instructions on how to format in VS Code to README HOT 5
- Format Document does nothing HOT 6
- black version 18.4a0 "outdated" HOT 6
- Support env variable expansion in "python.pythonPath" setting HOT 4
- Broken on OSX when launching VS Code from finder/dock: not picking up system locale HOT 16
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from black-vscode.