Ban !=# and !=? from the codebase
This commit is contained in:
parent
b1462ac66c
commit
d5ae3201a4
24 changed files with 37 additions and 33 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue