When I have "python.jediEnabled": false and I try to open a python file there is no diagnostics.
After I run :CocRestart then the diagnostics start showing up.
With Microsoft LSP it seems to not respect my pylintrc config.
Before Restart the CocInfo looks like this
## versions
vim version: VIM - Vi IMproved 8.2 8020000
node version: v10.17.0
coc.nvim version: 0.0.78-551353208d
coc.nvim directory: %userprofile%\dotfiles\.vim\pack\git\start\coc
term: undefined
platform: win32
## Output channel: Python
Starting Microsoft Python language server.
Steps to reproduce
Configure microsoft LSP on windows
Create a new folder with the following structure:
/coc-python-test
- pylintrc
- test-notebook.py
generate a pylintrc file and populate it with this
[VARIABLES]
# List of additional names supposed to be defined in builtins. Remember that
# you should avoid defining new builtins when possible.
additional-builtins=dbutils,spark,display,displayHTML
populate test-notebook.py
spark.catalog.refreshTable('db.mytable')
df = (
spark.badindent
)
Diagnostics don't show up automatically and spark is flagged as a warning when it should be ignored.
Seems to work correctly with Jedi
When I have
"python.jediEnabled": false
and I try to open a python file there is no diagnostics.After I run
:CocRestart
then the diagnostics start showing up. With Microsoft LSP it seems to not respect mypylintrc
config.Before Restart the
CocInfo
looks like thisSteps to reproduce
Configure microsoft LSP on windows
Create a new folder with the following structure:
generate a pylintrc file and populate it with this
populate test-notebook.py
df = ( spark.badindent )