aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtime/compiler/pylint.vim3
-rw-r--r--runtime/doc/quickfix.txt7
2 files changed, 4 insertions, 6 deletions
diff --git a/runtime/compiler/pylint.vim b/runtime/compiler/pylint.vim
index 59408b4750..4c9c23e125 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 576eebefcc..b3399b2766 100644
--- a/runtime/doc/quickfix.txt
+++ b/runtime/doc/quickfix.txt
@@ -1380,7 +1380,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".
@@ -1389,10 +1389,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*