mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-16 11:01:29 +08:00
Add PyLS linter (#1097)
* Support PyLS (python language server) * Replace pyls#GetProjectRoot and add more config types to ale#python#FindProjectRoot
This commit is contained in:
1 parent
86e8074017
commit
8a4cf923a8
5 files changed
+35
-2
No files matched your search
@@ -18,6 +18,8 @@ function! ale#python#FindProjectRootIni(buffer) abort
|
||||
\|| filereadable(l:path . '/setup.cfg')
|
||||
\|| filereadable(l:path . '/pytest.ini')
|
||||
\|| filereadable(l:path . '/tox.ini')
|
||||
\|| filereadable(l:path . '/pycodestyle.cfg')
|
||||
\|| filereadable(l:path . '/flake8.cfg')
|
||||
return l:path
|
||||
endif
|
||||
endfor
|
||||
|
||||
Reference in new issue
Block a user