Add flake8 conf

This commit is contained in:
flyingscorpio@arch-desktop 2020-04-28 11:46:33 +02:00
parent 02a8be3987
commit f77e309609
3 changed files with 3 additions and 1 deletions

2
dotfiles/flake8 Normal file
View file

@ -0,0 +1,2 @@
[flake8]
max-line-length = 90

0
dotfiles/picom.conf Executable file → Normal file
View file

View 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