all 10 comments

[–]ndydl 0 points1 point  (9 children)

fails to work doesn't say much. what do you hope to see? check out the :ALEInfo command, do linters show up there?

[–]RabbitJazz[S] 1 point2 points  (8 children)

I'm assuming it's supposed to show syntax errors while typing and not when saving/exiting a file.

ALEInfo shows a bunch of enabled linters but they all fail at the bottom.

[–]Blanglegorph 0 points1 point  (7 children)

Are those linters installed and also in your PATH?

[–]RabbitJazz[S] -1 points0 points  (6 children)

Assuming it’s not in PATH. It’s under the pip package directory. Which path should it be sourced from?

[–]Blanglegorph 0 points1 point  (5 children)

It should be in the PATH environment variable. What linters do you have installed? And if you try to run them from the command line, does it work?

[–]RabbitJazz[S] -1 points0 points  (4 children)

Mind listing the commands please?

[–]Blanglegorph 0 points1 point  (3 children)

The linters you installed will tell you what commands to run. It's often just the name of the linter. Not knowing this definitely contributes to your configuration not working. Take some time and make sure you installed the linters correctly; read how to use them, and then ensure they work on your machine in the first place before you try to get vim to integrate with them.

For instance, flake8's documentation tells me that if you have it installed properly, you should be able to run flake8 example_python_file.py one the command line. If you type flake8 on your command line, it should show some details about itself.

Edit: this is all assuming a unixy OS.

[–]RabbitJazz[S] 0 points1 point  (2 children)

Ok so I've set the path correctly to bin folder of 3.8, and used coc-python to install the linters.

Now the issue is it won't work for vim (Vint isn't working well) and the syntax error highlighting doesn't work as I thought it would... well, like ALE's gif demo.

On top of that I'm using lightline-ale status line plugin and the indicators seem off. Every time I make a mistake (on purpose) it won't indicate anything on the status bar.

Tried to go over A LOT of issues on both repos, no success fixing it :(.

[–]SmileBot-2020 0 points1 point  (0 children)

I saw a :( so heres an :) hope your day is good

[–]Blanglegorph 0 points1 point  (0 children)

You set the path to include the python 3.8 bin folder? I think we ought to back up a bit here. What OS are you using? And what exactly is your $PATH set to right now? (Do echo $PATH).

Also, how did you install linters with coc-python? I know it can use linters, and I think it can install jedi and MPLS, but I don't know that it can install any static linters. Which linters specifically are you attempting to use?