Closed fjhheras closed 4 years ago
Sorry, my wrong. It seems (at least now) that I have exactly the same problems when running pylint outside or inside vim.
However, it still marks perfectly good uses of tensorflow as errors, but that is a problem of either the linter or tensorflow. It is probably related to https://github.com/PyCQA/pylint/issues/3080
When linting (using pylint) I obtain different results than when calling pylint from the command line. For example, it tells me that some expressions in numpy or tensorflow are wrong, but they work and they are not considered as errors if I run pylint on the terminal.
I am using neovim with coc-python inside a conda environment. When running
CocCommand python.setInterpreter
it detects the right python interpreter (the one of the conda environment).In case if was a matter of having wrong paths, I created a
.vim/coc-settings.json
file with the following contents:My CocConfig has this information:
My neovim also detects the right python executable:
For completeness: