Thanks What if I want to override (88) the default chars per line?
(88)
I'm a fan of using pyproject.toml, but as an alternative to Waylon's comment regarding config files, you can also configure the line length in VSCode.
pyproject.toml
You can add this to your pyproject.toml, ~/.black, $XDG_CONFIG_HOME/black, or ~/.config/black
~/.black
$XDG_CONFIG_HOME/black
~/.config/black
[tool.black] line-length = 88
black.readthedocs.io/en/stable/usa...
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks
What if I want to override
(88)
the default chars per line?I'm a fan of using
pyproject.toml
, but as an alternative to Waylon's comment regarding config files, you can also configure the line length in VSCode.You can add this to your
pyproject.toml
,~/.black
,$XDG_CONFIG_HOME/black
, or~/.config/black
black.readthedocs.io/en/stable/usa...