Calmcode - flake8: extensions

Extensions

1 2 3 4 5 6 7

Flake8 can be configure but it can also be extended. There are many plugins for it and we'll explore a few here.

To start, it's good to know that you can confirm which extensions are active by running;

flake8 --version

Let's install a plugin as an example.

python -m pip install pep8-naming

You can run the same command as before to see an update.

flake8 --version

But now you can run flake8 with extra checks.