I'm using flake8
to check my code with ale plugin. I found a way to make it work with Python 3, but it seems it does not recognize Cython file (.pyx
) even if we set as follows.
let g:ale_linters = {
\ 'cython': ['flake8']
\}
I also tried
let g:ale_command_wrapper = "source activate py36; %* --filetype=*.py,*.pyx "
Is there any way to set it?
:help ale
or the README which lists all the supported linters. You'll have to make a PR to Ale to add it (which is actually pretty easy to do!)