From: Maximilian Friedersdorff Date: Wed, 22 Apr 2020 11:08:17 +0000 (+0100) Subject: COnfigure flake8 X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=170decaf77ec2ba720b7554f88c219e6c900233d;p=max%2Fsaltfiles.git COnfigure flake8 --- diff --git a/states/vim/files/flake8 b/states/vim/files/flake8 new file mode 100644 index 0000000..e69ea86 --- /dev/null +++ b/states/vim/files/flake8 @@ -0,0 +1,3 @@ +[flake8] +max_line_length = 99 +max_doc_length = 72 diff --git a/states/vim/init.sls b/states/vim/init.sls index baec41c..69b9781 100644 --- a/states/vim/init.sls +++ b/states/vim/init.sls @@ -9,6 +9,14 @@ vimrc: - group: {{ grains['user'] }} - mode: 640 +flake8: + file.managed: + - name: {{ grains['homedir'] }}/.config/flake8 + - source : salt:///vim/files/flake8 + - user: {{ grains['user'] }} + - group: {{ grains['user'] }} + - mode: 640 + bundle dir: file.directory: - name: ~/.vim/bundle