runtime(compiler): update pylint linter
Commit:
https://github.com/vim/vim/commit/210c49bbe8b2edf15fd4fbbc089ec128e4c9c0c9
Author: Konfekt <[email protected]>
Date: Tue Nov 12 20:48:31 2024 +0100
runtime(compiler): update pylint linter
closes: https://github.com/vim/vim/issues/16039
Signed-off-by: Konfekt <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/runtime/compiler/pylint.vim b/runtime/compiler/pylint.vim
index 59408b475..4c9c23e12 100644
--- a/runtime/compiler/pylint.vim
+++ b/runtime/compiler/pylint.vim
@@ -12,8 +12,7 @@ set cpo&vim
" CompilerSet makeprg=ruff
let &l:makeprg = 'pylint ' .
\ '--output-format=text --msg-template="{path}:{line}:{column}:{C}:
[{symbol}] {msg}" --reports=no ' .
- \ get(b:, "pylint_makeprg_params", get(g:, "pylint_makeprg_params",
- \ (executable('getconf') ? '--jobs='..systemlist('getconf
_NPROCESSORS_ONLN')[0] : '')))
+ \ get(b:, "pylint_makeprg_params", get(g:, "pylint_makeprg_params",
'--jobs=0'))
exe 'CompilerSet makeprg='..escape(&l:makeprg, ' "')
CompilerSet errorformat=%A%f:%l:%c:%t:\ %m,%A%f:%l:\ %m,%A%f:(%l):\
%m,%-Z%p^%.%#,%-G%.%#
diff --git a/runtime/doc/quickfix.txt b/runtime/doc/quickfix.txt
index 48f192a7b..671630d66 100644
--- a/runtime/doc/quickfix.txt
+++ b/runtime/doc/quickfix.txt
@@ -1,4 +1,4 @@
-*quickfix.txt* For Vim version 9.1. Last change: 2024 Nov 10
+*quickfix.txt* For Vim version 9.1. Last change: 2024 Nov 12
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1419,7 +1419,7 @@ RUFF LINTER
*compiler-ruff*
Commonly used compiler options can be added to 'makeprg' by setting the
b/g:ruff_makeprg_params variable. For example: >
- let b:ruff_makeprg_params = "--max-line-length"..&textwidth
+ let b:ruff_makeprg_params = "--max-line-length "..&textwidth
The global default is "--preview".
@@ -1428,10 +1428,9 @@ PYLINT LINTER
*compiler-pylint*
Commonly used compiler options can be added to 'makeprg' by setting the
b/g:pylint_makeprg_params variable. For example: >
- let b:pylint_makeprg_params = "--max-line-length"..&textwidth
+ let b:pylint_makeprg_params = "--max-line-length "..&textwidth
-The global default is "--jobs=n" where n is the number of cores as reported
-by getconf, if executable. Otherwise it defaults to "".
+The global default is "--jobs=0" to use (almost) all cores.
PYUNIT COMPILER
*compiler-pyunit*
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1tAx3T-0008xx-5F%40256bit.org.