add python linter/fixers

This commit is contained in:
Morgan Wattiez 2019-11-09 13:22:05 +01:00
parent 07e0014f7c
commit 65721197b4
2 changed files with 11 additions and 0 deletions

View File

@ -56,6 +56,14 @@ let g:indent_guides_enable_on_vim_startup = 1
let g:indent_guides_start_level = 2 let g:indent_guides_start_level = 2
let g:indent_guides_guide_size = 1 let g:indent_guides_guide_size = 1
" dense-analysis/ale options
let g:ale_history_log_output = 1
let g:ale_use_global_executables = 1
let g:ale_fixers = {
\ '*': ['remove_trailing_lines', 'trim_whitespace'],
\ 'python': ['black'],
\}
" Enable syntax highlighting " Enable syntax highlighting
syntax on syntax on
" Enable line numbers " Enable line numbers

View File

@ -5,6 +5,7 @@ asn1crypto==1.2.0
astroid==2.3.3 astroid==2.3.3
attrs==19.3.0 attrs==19.3.0
Automat==0.8.0 Automat==0.8.0
autopep8==1.4.4
awscli==1.16.278 awscli==1.16.278
backcall==0.1.0 backcall==0.1.0
beautifulsoup4==4.8.1 beautifulsoup4==4.8.1
@ -27,6 +28,8 @@ cycler==0.10.0
ddgr==1.6 ddgr==1.6
decorator==4.4.1 decorator==4.4.1
docutils==0.15.2 docutils==0.15.2
entrypoints==0.3
flake8==3.7.9
future==0.18.2 future==0.18.2
google-api-python-client==1.7.11 google-api-python-client==1.7.11
google-auth==1.7.0 google-auth==1.7.0