Skip to content

Commit 45702ec

Browse files
authored
Disable Pylint plugin by default (#698)
1 parent 860c3eb commit 45702ec

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

pyls/plugins/pylint_lint.py

+7
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,13 @@ def _build_pylint_flags(settings):
146146
return ' '.join(pylint_args)
147147

148148

149+
@hookimpl
150+
def pyls_settings():
151+
# Default pylint to disabled because it requires a config
152+
# file to be useful.
153+
return {'plugins': {'pylint': {'enabled': False, 'args': []}}}
154+
155+
149156
@hookimpl
150157
def pyls_lint(config, document, is_saved):
151158
settings = config.plugin_settings('pylint')

vscode-client/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@
237237
},
238238
"pyls.plugins.pylint.enabled": {
239239
"type": "boolean",
240-
"default": true,
240+
"default": false,
241241
"description": "Enable or disable the plugin."
242242
},
243243
"pyls.plugins.pylint.args": {

0 commit comments

Comments
 (0)