Install Python Linter in Atom.

Step 1. Install flake8.

I recommend creating a virtual environment to install the Flake 8 package in.

Here is the pip command to install the Flake8 package:

pip install flake8

Step 2. Install linter.

In atom, goto settings, install packages. Search for linter-flake8 and install the package.

Step 3. Restart Atom.

After restarting, you see this message. Click YES.

Step 4. Restart Atom again.

After restarting again, you see the flake messages in the code.