this post was submitted on 16 Jul 2023
4 points (100.0% liked)

Neovim

2161 readers
3 users here now

founded 1 year ago
MODERATORS
 

I use coc-pyright as python code completer in debian. When I work on a django file, I get errors like this error in neovim env. But django runs codes without any problem. I have installed django with apt and not with pip and also I am not in a venv.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 1 points 1 year ago (1 children)

Thank you for your complete explanation! Now I have a question. I know that this note that coc-pyright shows does not hurt code's running. But the note hurts me when I am coding. Do you know how to remove pyright's type hint?

[โ€“] [email protected] 1 points 1 year ago

I found it. I should set pyright.disableDiagnostics to true in CocConfig.