3025 shaares
When using VS Code and flake8, line width of python code is by default limited to 79 characters.
For people like me, 79 characters are not enough. How can we increase it?
-
VSC Setting
python.linting.flake8Args- add item
--max-line-length=80
- add item
-
Update VS Code configuration file :
{
"python.linting.flake8Args": [
"--max-line-length=80"
]
}