aboutsummaryrefslogtreecommitdiff
path: root/runtime/compiler
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-11-13 16:00:35 +0800
committerGitHub <noreply@github.com>2024-11-13 08:00:35 +0000
commiteaf5ae6cc69a97e58365b409554783be9dd21385 (patch)
tree8d2f1ac287aebf71462afcbc468d2b72ca2e5c28 /runtime/compiler
parent28bf25d012778d911ea5757ae0e587b0bdd7c3ec (diff)
downloadrneovim-eaf5ae6cc69a97e58365b409554783be9dd21385.tar.gz
rneovim-eaf5ae6cc69a97e58365b409554783be9dd21385.tar.bz2
rneovim-eaf5ae6cc69a97e58365b409554783be9dd21385.zip
vim-patch:210c49b: runtime(compiler): update pylint linter (#31191)
closes: vim/vim#16039 https://github.com/vim/vim/commit/210c49bbe8b2edf15fd4fbbc089ec128e4c9c0c9 Co-authored-by: Konfekt <Konfekt@users.noreply.github.com>
Diffstat (limited to 'runtime/compiler')
-rw-r--r--runtime/compiler/pylint.vim3
1 files changed, 1 insertions, 2 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%.%#