vscode) line length 늘리기

2021. 9. 5. 19:16꿀팁 분석 환경 설정/파이썬 개발 팁

728x90



파이썬에서 black으로 포맷팅할 때 line length 설정 방법 공유

F1 -> Preference : Open User Settings -> 검색 : python formatting black args

ADD item -> --line-length -> ADD item -> 119 

 

이렇게 하면 됨!

아니면 다른 방식

-> setting.json

    "python.formatting.blackArgs": [
        "--line-length",
        "119"
    ]

이것을 추가해도 됨!



https://dev.to/adamlombard/vscode-setting-line-lengths-in-the-black-python-code-formatter-1g62

728x90