summaryrefslogtreecommitdiff
path: root/ale_linters/python/pycodestyle.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/python/pycodestyle.vim')
-rw-r--r--ale_linters/python/pycodestyle.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/python/pycodestyle.vim b/ale_linters/python/pycodestyle.vim
index bbecdf03..19f05a53 100644
--- a/ale_linters/python/pycodestyle.vim
+++ b/ale_linters/python/pycodestyle.vim
@@ -44,8 +44,8 @@ function! ale_linters#python#pycodestyle#Handle(buffer, lines) abort
\ 'code': l:match[4],
\}
- " E999 is not a style error, it's a syntax error.
- if l:match[4] is# 'E999'
+ " E999 and E112 are syntax errors.
+ if l:match[4] is# 'E999' || l:match[4] is# 'E112'
unlet l:item.sub_type
endif