KISS solution to lint python code within Atom.
This atom package is a All-In-One linter for python code, it internally use multiple linting tools:
The lint triggers of all of those linting tools can individually be configure to
Lint as you type
Lint on file save
Never
You don't need to install all of those lint tool if you don't want/need them. If any of the above lint tool is not install, it will be detected and a user friendly message will guide you to either install it or change its lint trigger to 'Never'.
To provide specific lint options, python-linters supports setup.cfg configuration file format which is supported by all of the above lint tool.
Having lint options in a file external to the IDE settings allows to share the configuration with other process like manual run or CI and therefore obtain consistent lint results.
- atom must be installed which will provide the apm command aka Atom Package Manager.
apm install python-linters
Use the following atom linting packages:
- https://atom.io/packages/linter-flake8
- https://atom.io/packages/linter-mypy
- https://atom.io/packages/linter-pydocstyle
- https://atom.io/packages/linter-pylint
Note: You can use any of the above alternate linting packages in parallel with python-linters.
In which case you should set their lint trigger setting to Never
to avoid double processing.
This project is licensed under the MIT License - see the LICENSE.txt file for details