-
-
Notifications
You must be signed in to change notification settings - Fork 252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add Pylint and make it work in a virtualenv #142
Conversation
can someone with python skills say something about this? |
I'm not sure the path bit is needed? When spawning nvim in a poetry shell, everything works fine with pylint and my virtual env. |
Does it recognize imports that are only available in your venv? Does it pick up your .pylintrc? Does it also work if you run |
Yes to all of them. |
Hmm, definitely not working for me. I'm not the first one to have encountered that problem either. |
I'll see if there are any testers in the Astronvim channel that has a similar workflow to you. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please format with stylua
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Pylint is a very popular linter, unfortunately it doesn't work out of the box if you are using a virtualenv (as you should be doing). This issue in mason.nvim describes why it doesn't work and how to apply a workaround: williamboman/mason.nvim#668