How to Install flake8 in Ubuntu 18.04



Install flake8 by entering the following commands in the terminal:

sudo apt update
sudo apt install flake8

Description:

code checker using pycodestyle and pyflakes

Flake8 is a wrapper around PyFlakes, pycodestyle, and Ned's McCabe script. Flake8 runs all tools by launching the single 'flake8' script, but ignores pycodestyle and PyFlakes extended options and just uses defaults. It displays the warnings in a per-file, merged output. . This package provides flake8 binary.

Homepage: https://gitlab.com/pycqa/flake8

Version: 3.5.0-1

Section: universe/python