From 170decaf77ec2ba720b7554f88c219e6c900233d Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Wed, 22 Apr 2020 12:08:17 +0100 Subject: [PATCH] COnfigure flake8 --- states/vim/files/flake8 | 3 +++ states/vim/init.sls | 8 ++++++++ 2 files changed, 11 insertions(+) create mode 100644 states/vim/files/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 -- 2.46.2