question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`python.formatting.blackPath` no longer supported

See original GitHub issue

VS Code version

1.63.0

Extension version

v2021.12.1559732655

OS type

Linux

OS version

RHEL7

Python distribution

Anaconda

Python version

2.7

Language server

Pylance

Expected behaviour

python.formatting.blackPath should be supported

Actual behaviour

python.formatting.blackPath is not supported

Steps to reproduce

Try formatting with black.

Logs

No response

Code of Conduct

  • I agree to follow this project’s Code of Conduct

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:7

github_iconTop GitHub Comments

4reactions
zbscommented, Mar 2, 2022

Checking in again. Please fix soon – I really miss auto-black functionality.

0reactions
karrtikrcommented, Dec 22, 2022

Please check out https://marketplace.visualstudio.com/items?itemName=ms-python.black-formatter as we’ve moved our efforts towards supporting each tool as an extension. We have a setting there for this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python black formatter for vscode not formatting
On a specific workspace, I have a virtual environment and I override the blackPath to the black specifically installed on that virtual ...
Read more >
VSCode: Using Black to automatically format Python
Black is "the uncompromising Python code formatter." It can be configured to automatically format your code whenever you save a file in VSCode....
Read more >
Editing Python in Visual Studio Code
black does not support formatting sections of code, it can be prevented with the following settings "[python]": {"editor.formatOnPaste": false, "editor.
Read more >
Setting up python Black on Visual Studio Code | by Marco Belo
Search for “python formatting provider” and select “black”. Now open/create a python file, write some code and save(Ctrl+s) it ...
Read more >
Python devs that use Black for formatting. When I ...
When I format with VSCode's black, it ignores the problem of very long lines and formats this way. Does it happen to anyone...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found