Slightly changed flake8

This commit is contained in:
Andrea Mistrali 2016-05-05 09:16:22 +02:00
parent a89cacdaa7
commit 4605133753
1 changed files with 10 additions and 2 deletions

12
vimrc
View File

@ -17,6 +17,9 @@ set nostartofline
set autochdir set autochdir
" set clipboard+=unnamed " set clipboard+=unnamed
" We use , as leader
let g:mapleader = ","
" Vundle " Vundle
set rtp+=~/.vim/bundle/Vundle.vim set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin() call vundle#begin()
@ -73,13 +76,19 @@ set expandtab
set softtabstop=4 set softtabstop=4
" set autoindent " set autoindent
" set smartindent " set smartindent
let g:PyFlakeDisabledMessages = 'E128,E501,E116'
" Highlightinh in python: " Highlightinh in python:
let python_highlight_numbers = 1 let python_highlight_numbers = 1
let python_highlight_builtins = 1 let python_highlight_builtins = 1
let python_highlight_exceptions = 1 let python_highlight_exceptions = 1
let python_highlight_space_errors = 1 let python_highlight_space_errors = 1
" Flake8
" let g:PyFlakeOnWrite = 0
let g:PyFlakeCheckers = 'pep8,frosted'
let g:PyFlakeDisabledMessages = 'E128,E501,E116'
" nnoremap <silent> <Leader>8 :PyFlake<CR>
" END PYTHON GOODIES " END PYTHON GOODIES
set nofoldenable set nofoldenable
@ -243,7 +252,6 @@ let g:airline_symbols.whitespace = 'Ξ'
" """"""""""" " """""""""""
" Keymappings " Keymappings
" """"""""""" " """""""""""
let g:mapleader = ","
nnoremap <silent> <Leader>l :set list!<CR> nnoremap <silent> <Leader>l :set list!<CR>
nnoremap <silent> <Leader>f :set fullscreen!<CR> nnoremap <silent> <Leader>f :set fullscreen!<CR>
nnoremap <silent> <Leader>x :set paste!<CR> nnoremap <silent> <Leader>x :set paste!<CR>