From charlesreid1

Line 21: Line 21:


https://github.com/nvie/vim-flake8
https://github.com/nvie/vim-flake8
==Related==
[[Black]] - the uncompromising Python formatter


==Flags==
==Flags==

Revision as of 17:17, 7 August 2019

Installing

Install the flake8 command line utility to run Python code through flake8 and find where it does not meet the standards:

pip install flake8

Relaxing Line Length Standard

To relax the max line length default, set it with the flake8 config file.

Put the following into your ~/.config/flake8 file:

[flake8]
max-line-length = 120

Vim Plugin

https://github.com/nvie/vim-flake8

Related

Black - the uncompromising Python formatter

Flags