X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/c92a2e54e2dd35e7127ae4939fbbfee50027da3a..e39edb5a32f6468b134df24f45cc1a01d1662238:/README.mdown diff --git a/README.mdown b/README.mdown index 5b83c99..2f8c5b6 100644 --- a/README.mdown +++ b/README.mdown @@ -39,21 +39,9 @@ the `` key if so. For example, to remap it to `` instead, use: autocmd FileType python map :call Flake8() -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`: @@ -92,7 +80,7 @@ the empty string disables it. Ex.: 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 @@ -158,3 +146,9 @@ a autoload file. Added: 1.1: Added `g:flake8_ignore` option. 1.0: Initial version. + + +License +------- + +Liberally licensed under BSD terms.