diff options
author | w0rp <devw0rp@gmail.com> | 2019-02-10 11:43:48 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2019-02-10 11:43:48 +0000 |
commit | 7a48750610bbed164750a3f0fbf0fd9e88fa56c5 (patch) | |
tree | f8904b5d9ed2b9b02059cdf267cee46479849c74 /ale_linters/python | |
parent | d072d2654c68d1c0bf4a1cb8c15c31e989652669 (diff) | |
download | ale-7a48750610bbed164750a3f0fbf0fd9e88fa56c5.zip |
Complain about binary operators on the ends of lines
Diffstat (limited to 'ale_linters/python')
-rw-r--r-- | ale_linters/python/bandit.vim | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ale_linters/python/bandit.vim b/ale_linters/python/bandit.vim index 1b5a84a4..819c83aa 100644 --- a/ale_linters/python/bandit.vim +++ b/ale_linters/python/bandit.vim @@ -7,9 +7,10 @@ call ale#Set('python_bandit_use_global', get(g:, 'ale_use_global_executables', 0 call ale#Set('python_bandit_auto_pipenv', 0) function! ale_linters#python#bandit#GetExecutable(buffer) abort - if (ale#Var(a:buffer, 'python_auto_pipenv') || - \ ale#Var(a:buffer, 'python_bandit_auto_pipenv')) - \ && ale#python#PipenvPresent(a:buffer) + if ( + \ ale#Var(a:buffer, 'python_auto_pipenv') + \ || ale#Var(a:buffer, 'python_bandit_auto_pipenv') + \) && ale#python#PipenvPresent(a:buffer) return 'pipenv' endif |