X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/80338e1657cb1369479d7da0b4fe09200ffeb34d..ca1dc6d3ef003f7e44eec46231779cb18009c88d:/README.mdown diff --git a/README.mdown b/README.mdown index 064594b..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,7 +53,6 @@ enable this, add the following line to your `.vimrc` file (thanks autocmd BufWritePost *.py call Flake8() - This plugin goes well together with the following plugin: - [PyUnit](http://github.com/nvie/vim-pyunit) (unit test helper under ``