Ban !=# and !=? from the codebase

This commit is contained in:
w0rp 2017-08-11 00:31:42 +01:00
parent b1462ac66c
commit d5ae3201a4
24 changed files with 37 additions and 33 deletions

View file

@ -37,7 +37,7 @@ function! ale_linters#python#mypy#Handle(buffer, lines) abort
let l:buffer_filename = expand('#' . a:buffer . ':p')
for l:match in ale#util#GetMatches(a:lines, l:pattern)
if l:buffer_filename[-len(l:match[1]):] !=# l:match[1]
if l:buffer_filename[-len(l:match[1]):] isnot# l:match[1]
continue
endif