From: Maximilian Friedersdorff Date: Thu, 4 Nov 2021 10:01:41 +0000 (+0000) Subject: Point vim at flake8 config file explicitly X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=1b455238e3808ec74d209b4c2b52952f39dab0a9;p=max%2Fsaltfiles.git Point vim at flake8 config file explicitly --- diff --git a/states/vim/files/flake8 b/states/vim/files/flake8 index 22fe9a1..99c768d 100644 --- a/states/vim/files/flake8 +++ b/states/vim/files/flake8 @@ -1,3 +1,3 @@ [flake8] -max_line_length = 119 -max_doc_length = 80 +max-line-length = 119 +max-doc-length = 80 diff --git a/states/vim/files/vimrc b/states/vim/files/vimrc index 4bc8f03..fb17f15 100644 --- a/states/vim/files/vimrc +++ b/states/vim/files/vimrc @@ -70,6 +70,7 @@ let g:syntastic_check_on_wq = 1 let g:syntastic_javascript_checkers = ['eslint'] let g:syntastic_python_python_exec = '/usr/bin/python3' let g:syntastic_python_checkers = ['python', 'flake8'] +let g:syntastic_python_flake8_args='--config=/home/max/.config/flake8' let g:syntastic_aggregate_errors = 1 " Syntastic C++11