Daily Shaarli

All links of one day in a single page.

July 22, 2022

Increase line width limit to python code when using VS Code and flake8 - EasyDevGuide.com

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
  • Update VS Code configuration file :

    {
    "python.linting.flake8Args": [
    "--max-line-length=80"
    ]
    }