autocmd FileType python map <buffer> <F3> :call Flake8()<CR>
-To add builtins, in your .vimrc:
+For flake8 configuration options please consult the following page:
- let g:flake8_builtins="_,apply"
-
-To ignore errors, in your .vimrc:
-
- let g:flake8_ignore="E501,W293"
-
-If you want to change the max line length for PEP8:
-
- let g:flake8_max_line_length=99
-
-To set the maximum [McCabe complexity](https://en.wikipedia.org/wiki/Cyclomatic_complexity) before a warning is issued:
-
- let g:flake8_max_complexity=10
+http://flake8.readthedocs.org/en/latest/config.html
To customize the location of your flake8 binary, set `g:flake8_cmd`:
flake8_complexity_marker='' " disable McCabe complexity warnings
flake8_naming_marker='' " disable naming warnings
-To customize the colors used for markers, define the highligth groups, `Flake8_Error`,
+To customize the colors used for markers, define the highlight groups, `Flake8_Error`,
`Flake8_Warning`, `Flake8_PyFlake`, `Flake8_Complexity`, `Flake8_Naming`:
" to use colors defined in the colorscheme
History
-------
-1.4: Added markers and the option to don't show the quickfix window, also split functions into
+1.5: Added markers and the option to don't show the quickfix window, also split functions into
a autoload file. Added:
- Options:
- `Flake8_Naming`
- `Flake8_PyFlake`
+1.4: Suppress output to stdout.
+
1.3: Added the following options:
- `g:flake8_builtins="_,apply"`
1.1: Added `g:flake8_ignore` option.
1.0: Initial version.
+
+
+License
+-------
+
+Liberally licensed under BSD terms.