22

It seems that there are too many Python linting packages and I am wonder which one should we use.

I suspect installing two will provide a confusing experience, if not even triggering weird bugs.

Here are few areas I want to clarify:

  • is ok to use more than one?
  • wouldn't be better to ask authors to join efforts and focus on a single one?
    What are the pros and cons for them?
sorin
  • 161,544
  • 178
  • 535
  • 806
  • 3
    I think pylint it the most common. In all professional projects I've seen, we always used pylint. It works well. – loutre Mar 23 '16 at 08:02
  • From the [help center](https://stackoverflow.com/help/on-topic): Questions asking us to _recommend or find a book, tool, software library, tutorial or other off-site resource_ are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. – Audrius Kažukauskas Mar 23 '16 at 08:04
  • BTW, pylint and flake8 (which combines pyflakes and pep8) are different lint tools, and autopep8 automatically formats Python code according to PEP 8. – Audrius Kažukauskas Mar 23 '16 at 08:08
  • 4
    I'm a year late to this question, but pylama wraps most of those tools and has a linter in Atom. – Craig Kelly Apr 27 '17 at 15:49
  • 1
    [**linter-python**](https://atom.io/packages/linter-python) use pylama that as @CraigKelly said use most of those tools. – Pablo Bianchi Apr 09 '18 at 02:06
  • I've tested most of them on my Atom in Windows 10. Unfortunately, most of them are not stable. I can't find any one which is working. There is no error message either. – Benny Chan Nov 27 '20 at 07:34

0 Answers0