diff options
Diffstat (limited to 'ale_linters/python/flake8.vim')
-rw-r--r-- | ale_linters/python/flake8.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/python/flake8.vim b/ale_linters/python/flake8.vim index 549eaf7f..cc4c604f 100644 --- a/ale_linters/python/flake8.vim +++ b/ale_linters/python/flake8.vim @@ -27,7 +27,7 @@ function! ale_linters#python#flake8#Handle(buffer, lines) let l:text = l:code . ': ' . l:match[4] let l:type = l:code[0] ==# 'E' ? 'E' : 'W' - if l:code ==# 'W291' && !g:ale_warn_about_trailing_whitespace + if (l:code ==# 'W291' || l:code ==# 'W293') && !g:ale_warn_about_trailing_whitespace " Skip warnings for trailing whitespace if the option is off. continue endif |