Install Atom

Install Python Linter

Atom -> Preferences -> Install

If you have trouble getting the linter to be on your pythonpath:

Add this to your init script: Atom -> Open Your Init Script

process.env.PATH = ['/usr/local/bin/', process.env.PATH].join(':')

I also don’t want the linter to freak out every time a line is longer than 80 characters so I ended up adding this to my config file.

  maxLineLength: 120
  maxComplexity: 20

 preferredLineLength: 120


Update Settings

Atom -> Preferences -> Settings

  • Make sure Soft Tabs is checked
  • Tab Length should be set to 4 (default is 2)