Atom Python Setup
Install Atom
Install Python Linter
Atom -> Preferences -> Install
https://atom.io/packages/linter-flake8
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.
"linter-flake8": maxLineLength: 120 maxComplexity: 20 editor: preferredLineLength: 120
Update Settings
Atom -> Preferences -> Settings
- Make sure Soft Tabs is checked
- Tab Length should be set to 4 (default is 2)