Open
Description
I have the following structure:
root/
.pylintrc
wtf.py
wtf/
wtf.py
# wtf.py (identical both times)
X = 1
# .pylintrc
[MASTER]
disable=missing-docstring
pylint is ok with both files:
root $ pylint wtf.py
--------------------------------------------------------------------
Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)
root $ pylint wtf/wtf.py
--------------------------------------------------------------------
Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)
I'm running Neovim with LanguageClient-Neovim.
# .vimrc
let g:LanguageClient_serverCommands = {
\ 'python': ['/usr/local/bin/pyls'],
\ }
The top-level wtf.py
works as expected:
# wtf.py
X = 1 <no warnings here>
But the subfolder version of wtf.py
does not respect the pylintrc
. I get the missing-docstring
warning:
# wtf/wtf.py
X = 1 [missing-docstring] Missing module docstring
Why does pylintrc
not apply to the subfolder?
Metadata
Metadata
Assignees
Labels
No labels