summaryrefslogtreecommitdiff
path: root/ale_linters/python/flake8.vim
blob: bf7c1a16e9a8a0cab07c622911e50429f747b55d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
" Author: w0rp <devw0rp@gmail.com>
" Description: flake8 for python files

if exists('g:loaded_ale_linters_python_flake8')
    finish
endif

let g:loaded_ale_linters_python_flake8 = 1

call ale#linter#Define('python', {
\   'name': 'flake8',
\   'executable': 'flake8',
\   'command': 'flake8 -',
\   'callback': 'ale#handlers#HandlePEP8Format',
\})