black formatter 사용

럼포 ㅣ 2021. 3. 2. 18:18

github.com/microsoft/vscode-python/issues/5171

 

Pipenv can't install black because black is only a pre-release · Issue #5171 · microsoft/vscode-python

Environment data VS Code version: Version 1.34.0-insider Extension version (available under the Extensions sidebar): 2019.3.6558 OS and version: macOS 10.14 Python version (& distribution if ap...

github.com

 

현재 문제점 : pipenv 사용 시 위 링크에서 발생하는 error가 뜨면서 설치되지 않는다.

 

문제점의 원인 : black 이 pre-release이기 때문이라 그렇다고 한다.

 

대처방법 : 명령어창에서 black 파일명 을 입력하면 formatting 되므로 이를 일단 이용하자. 

'Visual Studio Code' 카테고리의 다른 글

Pylance Auto import가 적용되지 않을 때  (0) 2023.02.06
linter pylint 설치 오류  (0) 2020.11.16