Add flake8 conf
This commit is contained in:
parent
02a8be3987
commit
f77e309609
3 changed files with 3 additions and 1 deletions
2
dotfiles/flake8
Normal file
2
dotfiles/flake8
Normal file
|
@ -0,0 +1,2 @@
|
|||
[flake8]
|
||||
max-line-length = 90
|
0
dotfiles/picom.conf
Executable file → Normal file
0
dotfiles/picom.conf
Executable file → Normal file
|
@ -189,7 +189,7 @@ augroup configgroup
|
|||
" Run StripWhitespace function on write
|
||||
autocmd BufWritePre * :StripWhitespace
|
||||
" Run Flake8 on write in python files
|
||||
autocmd BufWritePost *.py :call flake8#Flake8()
|
||||
autocmd BufWritePost *.py call flake8#Flake8()
|
||||
|
||||
autocmd FileType c let g:ycm_extra_conf_globlist = ['~/*']
|
||||
autocmd FileType java setlocal noexpandtab
|
||||
|
|
Loading…
Add table
Reference in a new issue