mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-08 12:34:51 +08:00
codespell: fix spelling errors picked out by codespell (#4343)
This commit is contained in:
@@ -23,7 +23,7 @@ Execute(The ansible-lint handler for version group <5 should handle basic errors
|
||||
\ fnamemodify(tempname(), ':h') . '/test_playbook.yml:35: [EANSIBLE0002] Trailing whitespace',
|
||||
\ ])
|
||||
|
||||
Execute(The ansible-lint handler for version group <5 should supress trailing whitespace output when the option is used):
|
||||
Execute(The ansible-lint handler for version group <5 should suppress trailing whitespace output when the option is used):
|
||||
let b:ale_warn_about_trailing_whitespace = 0
|
||||
|
||||
AssertEqual
|
||||
|
||||
@@ -26,7 +26,7 @@ Execute(The atools handler should handle basic errors or warings):
|
||||
\ ])
|
||||
|
||||
" Regardless of the severity, if the certainty is [P]ossible and not [C]ertain
|
||||
" or if regardless of the Certainity the Severity is not [I]mportant or [S]erious
|
||||
" or if regardless of the Certainty the Severity is not [I]mportant or [S]erious
|
||||
" then it must be a [W]arning
|
||||
Execute(If we are not Certain or Importantly Serious, be a Warning):
|
||||
AssertEqual
|
||||
|
||||
@@ -18,6 +18,6 @@ Execute(Parsing checkmake errors should work):
|
||||
\ }
|
||||
\ ],
|
||||
\ ale_linters#make#checkmake#Handle(42, [
|
||||
\ 'This shouldnt match',
|
||||
\ "This shouldn't match",
|
||||
\ '1:woops:an error has occurred',
|
||||
\ ])
|
||||
|
||||
@@ -7,16 +7,16 @@ Execute(The ghc handler should handle hdevtools output):
|
||||
\ 'lnum': 147,
|
||||
\ 'type': 'W',
|
||||
\ 'col': 62,
|
||||
\ 'text': '• Couldnt match type ‘a -> T.Text’ with ‘T.Text’ Expected type: [T.Text]',
|
||||
\ 'text': "• Couldn't match type ‘a -> T.Text’ with ‘T.Text’ Expected type: [T.Text]",
|
||||
\ 'detail': join([
|
||||
\ '• Couldnt match type ‘a -> T.Text’ with ‘T.Text’',
|
||||
\ "• Couldn't match type ‘a -> T.Text’ with ‘T.Text’",
|
||||
\ ' Expected type: [T.Text]',
|
||||
\ ], "\n"),
|
||||
\ },
|
||||
\ ],
|
||||
\ ale#handlers#haskell#HandleGHCFormat(bufnr(''), [
|
||||
\ 'foo.hs:147:62: warning:',
|
||||
\ '• Couldnt match type ‘a -> T.Text’ with ‘T.Text’',
|
||||
\ "• Couldn't match type ‘a -> T.Text’ with ‘T.Text’",
|
||||
\ ' Expected type: [T.Text]',
|
||||
\ ])
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ Execute(The openscad handler should handle sca2d output):
|
||||
\ ' - * HASH',
|
||||
\ ' - * INTERSECTION_FOR',
|
||||
\ ' - ',
|
||||
\ 'If you belive this is a bug in SCA2D please report it to us.',
|
||||
\ 'If you believe this is a bug in SCA2D please report it to us.',
|
||||
\ '',
|
||||
\ '',
|
||||
\ 'SCA2D message summary',
|
||||
|
||||
@@ -4,7 +4,7 @@ Before:
|
||||
After:
|
||||
call ale#linter#Reset()
|
||||
|
||||
Execute(The tfsec handler should handle empty outout):
|
||||
Execute(The tfsec handler should handle empty output):
|
||||
AssertEqual
|
||||
\ [],
|
||||
\ ale_linters#terraform#tfsec#Handle(bufnr(''), ['{"results": null}'])
|
||||
|
||||
@@ -285,7 +285,7 @@ Execute(The tslint handler should not report no-implicit-dependencies errors):
|
||||
\ }])])
|
||||
|
||||
Execute(The tslint handler should set filename keys for temporary files):
|
||||
" The temporay filename below is hacked into being a relative path so we can
|
||||
" The temporary filename below is hacked into being a relative path so we can
|
||||
" test that we resolve the temporary filename first.
|
||||
let b:relative_to_root = substitute(expand('%:p'), '\v[^/\\]*([/\\])[^/\\]*', '../', 'g')
|
||||
let b:tempname_suffix = substitute(tempname(), '^\v([A-Z]:)?[/\\]', '', '')
|
||||
|
||||
Reference in New Issue
Block a user