Daily Shaarli

All links of one day in a single page.

January 18, 2022

Flake8: Your Tool For Style Guide Enforcement — flake8 4.0.1 documentation

It is very important to install Flake8 on the correct version of Python for your needs. If you want Flake8 to properly parse new language features in Python 3.5 (for example), you need it to be installed on 3.5 for Flake8 to understand those features. In many ways, Flake8 is tied to the version of Python on which it runs.

python -m pip install flake8
GitHub - nvie/vim-flake8: Flake8 plugin for Vim

vim-flake8 is a Vim plugin that runs the currently open file through Flake8, a static syntax and style checker for Python source code. It supersedes both vim-pyflakes and vim-pep8.

Flake8 is a wrapper around PyFlakes (static syntax checker), PEP8 (style checker) and Ned's MacCabe script (complexity checker).