X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/cac78c40c561325dbd3172552b958abd8c5bf6a0..ca1dc6d3ef003f7e44eec46231779cb18009c88d:/README.mdown diff --git a/README.mdown b/README.mdown index 56bfe43..0694399 100644 --- a/README.mdown +++ b/README.mdown @@ -32,6 +32,18 @@ the `` key if so. For example, to remap it to `` instead, use: autocmd FileType python map :call Flake8() +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 cutomize the location of your flake8 binary, set `g:flake8_cmd`: + + let g:flake8_cmd="/opt/strangebin/flake8000" + Tips ---- @@ -41,10 +53,6 @@ enable this, add the following line to your `.vimrc` file (thanks autocmd BufWritePost *.py call Flake8() -To ignore errors, in your .vimrc: - - g:flake8_ignore=E501,W293 - This plugin goes well together with the following plugin: - [PyUnit](http://github.com/nvie/vim-pyunit) (unit test helper under ``