]> git.friedersdorff.com Git - max/saltfiles.git/commitdiff
Point vim at flake8 config file explicitly
authorMaximilian Friedersdorff <max@friedersdorff.com>
Thu, 4 Nov 2021 10:01:41 +0000 (10:01 +0000)
committerMaximilian Friedersdorff <max@friedersdorff.com>
Thu, 4 Nov 2021 10:01:41 +0000 (10:01 +0000)
states/vim/files/flake8
states/vim/files/vimrc

index 22fe9a1b716f5944ec436b3dc76306f4ac0e89c7..99c768da2d8c9b82f0d9b113b582e7e2e8e0bc88 100644 (file)
@@ -1,3 +1,3 @@
 [flake8]
-max_line_length = 119
-max_doc_length = 80
+max-line-length = 119
+max-doc-length = 80
index 4bc8f03e80a37b29d4993d7e28d5c659898dc1c7..fb17f15426b5a813b655610d5baa544387b98cc8 100644 (file)
@@ -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