Skip to content

Atom package which lint python code with (flake8, mypy, pydocstyle, pylint)

License

Notifications You must be signed in to change notification settings

elarivie/atom-python-linters

Repository files navigation

KISS solution to lint python code within Atom.

repo status Active last commit

python-linters_BugTracker Build Status

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.

Prerequisites

  • atom must be installed which will provide the apm command aka Atom Package Manager.

Installation steps

apm install python-linters

⎇ Alternatives

Use the following atom linting packages:

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.

⚖️ License

This project is licensed under the MIT License - see the LICENSE.txt file for details

👩👨

About

Atom package which lint python code with (flake8, mypy, pydocstyle, pylint)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published