0

How do I setup a linter for python? I am using Atom, I have the base linter, but it does not show any error lines (those red lines underneath errors). ANY help would be appreciated.

The settings for the extiension

and the other one cause i couldnt fit it in one image.

see, it wont show an error even when i use linter:lint

look, there is an error, click here

  • Have you actually installed [`linter-python`](https://github.com/pchomik/linter-python)? Did you install its requirement `pylama`? Did you [configure](https://github.com/pchomik/linter-python#plugin-configuration) it? Please [edit] your question to add all the details. – wjandrea Oct 14 '21 at 15:09
  • `Python39\Scripts` I believe is a directory. Where is `pylama` installed? – wjandrea Oct 14 '21 at 15:48
  • yes, pylama.exe is installed over there – Motionless Bottle Oct 15 '21 at 00:59
  • Have you tried closing and reopening Atom? Do you have any other extensions that might be disabling the linter? (IIRC, `python-ide` does that.) Is `python-linter` enabled? Are you able to run `pylama` and `pylint` outside of Atom? – wjandrea Oct 15 '21 at 01:48
  • how do i enable python linter? also i have tried running pylama and pylint outside of atom and i reopened atom but it still wont work – Motionless Bottle Oct 15 '21 at 01:51
  • Click **View issue** and see what it says – wjandrea Oct 15 '21 at 02:33
  • 1
    YOOOOO, IT WORKS, PYTHON-LINTERS IS ANOTHER PACKAGE AND THAT WORKS. – Motionless Bottle Oct 15 '21 at 02:51
  • The error on the screenshot makes me wonder how you installed the package. It looks like it's missing dependencies. – idleberg Oct 15 '21 at 21:04

2 Answers2

0

linter-python has been inactive since 2017. Use linter-pylama instead, though it's also been inactive since 2019.

wjandrea
  • 28,235
  • 9
  • 60
  • 81
-1

python-linters works where linter-python and linter-pylama didn't.

wjandrea
  • 28,235
  • 9
  • 60
  • 81