Skip to content

Commit

Permalink
Disable Pylint plugin by default (#698)
Browse files Browse the repository at this point in the history
  • Loading branch information
ccordoba12 committed Nov 17, 2019
1 parent 860c3eb commit 45702ec
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions pyls/plugins/pylint_lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,13 @@ def _build_pylint_flags(settings):
return ' '.join(pylint_args)


@hookimpl
def pyls_settings():
# Default pylint to disabled because it requires a config
# file to be useful.
return {'plugins': {'pylint': {'enabled': False, 'args': []}}}


@hookimpl
def pyls_lint(config, document, is_saved):
settings = config.plugin_settings('pylint')
Expand Down
2 changes: 1 addition & 1 deletion vscode-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@
},
"pyls.plugins.pylint.enabled": {
"type": "boolean",
"default": true,
"default": false,
"description": "Enable or disable the plugin."
},
"pyls.plugins.pylint.args": {
Expand Down

0 comments on commit 45702ec

Please sign in to comment.