summaryrefslogtreecommitdiffstats
path: root/.coafile
diff options
context:
space:
mode:
authorAndrew Grimberg <agrimberg@linuxfoundation.org>2017-05-03 14:49:44 -0400
committerAndrew Grimberg <agrimberg@linuxfoundation.org>2017-05-03 15:58:48 -0400
commitb2f7abc5e5a00db1658dd04d8ed96059dff70eb0 (patch)
treebdc8e15409c45b1b705eba47f88a7afd7a089c05 /.coafile
parentffab4f773e77204e96cd6c37cbeb1979ad41e302 (diff)
Add configuration in prep to enable coala and tox
* Configure the .gitignore in prepration for coala lint checking and tox driven tests * Add needed configuration files for driving tox based tests including coala lint validation checks Issue: CIMAN-2 Change-Id: I41746a251ca0ca95c681426a2f5cd3474de425e6 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
Diffstat (limited to '.coafile')
-rw-r--r--.coafile33
1 files changed, 33 insertions, 0 deletions
diff --git a/.coafile b/.coafile
new file mode 100644
index 000000000..3f6f8f4b6
--- /dev/null
+++ b/.coafile
@@ -0,0 +1,33 @@
+[GitCommit]
+bears = GitCommitBear
+ignore_length_regex = Signed-off-by,
+ Also-by,
+ Co-authored-by,
+ http://,
+ https://
+
+[JSON]
+bears = JSONFormatBear
+files = **/*.json
+ignore = .*/**
+indent_size = 2
+
+[YAML]
+bears = YAMLLintBear
+files = jjb/**/*.yaml
+document_start = True
+yamllint_config = yamllint.conf
+
+[ShellCheck]
+bears = ShellCheckBear,SpaceConsistencyBear
+files = jenkins-scripts/**/*.sh,
+ jjb/**/*.sh,
+ scripts/**/*.sh
+ignore = jenkins-scripts/*-local-env.sh,
+ jjb/global-jjb/shell/*.sh,
+ jjb/include-docker-push.sh,
+ jjb/include-update-pom-versions.sh,
+ jjb/testsuite/testsuite-docker.sh,
+shell = bash
+indent_size = 4
+use_spaces = yeah