Skip to content

Commit b56ca5a

Browse files
committed
[imp] pyls allows arguments passed to pylint
palantir/python-language-server#539
1 parent 5763c33 commit b56ca5a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lsp-pyls.el

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,12 @@ complexity."
151151
:group 'lsp-pyls
152152
:package-version '(lsp-mode . "6.1"))
153153

154+
(defcustom lsp-pyls-plugins-pylint-args t
155+
"Arguments, passed to pylint"
156+
:type '(repeat string)
157+
:group 'lsp-pyls
158+
:package-version '(lsp-mode . "6.1"))
159+
154160
(defcustom lsp-pyls-plugins-pycodestyle-enabled t
155161
"Enable or disable the plugin."
156162
:type 'boolean
@@ -305,6 +311,7 @@ at all."
305311
("pyls.plugins.pycodestyle.exclude" lsp-pyls-plugins-pycodestyle-exclude)
306312
("pyls.plugins.pycodestyle.enabled" lsp-pyls-plugins-pycodestyle-enabled t)
307313
("pyls.plugins.pylint.enabled" lsp-pyls-plugins-pylint-enabled t)
314+
("pyls.plugins.pylint.args" lsp-pyls-plugins-pylint-args)
308315
("pyls.plugins.preload.modules" lsp-pyls-plugins-preload-modules)
309316
("pyls.plugins.preload.enabled" lsp-pyls-plugins-preload-enabled t)
310317
("pyls.plugins.mccabe.threshold" lsp-pyls-plugins-mccabe-threshold)

0 commit comments

Comments
 (0)