Add Git Commit Coala Bear 47/53547/3
authorStephen Kitt <skitt@redhat.com>
Mon, 20 Mar 2017 09:51:50 +0000 (10:51 +0100)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Tue, 21 Mar 2017 14:24:37 +0000 (14:24 +0000)
This enforces line lengths in commit messages.

Change-Id: I314d85a101c2f3225d1c66749a593f715e0270ec
Signed-off-by: Stephen Kitt <skitt@redhat.com>
.coafile [new file with mode: 0644]
settings.xml
tox.ini [new file with mode: 0644]

diff --git a/.coafile b/.coafile
new file mode 100644 (file)
index 0000000..bf97a00
--- /dev/null
+++ b/.coafile
@@ -0,0 +1,11 @@
+[Git]
+bears = GitCommitBear
+ignore_length_regex = Signed-off-by,
+    Also-by,
+    Co-authored-by,
+    http://,
+    https://
+
+[XML]
+bears = XMLBear
+files = settings.xml
index 93573383f82899a0b73ceeff97c76862ad3fcc4d..b7a5b5d19fcca02af8d43dd88489e412463309b9 100644 (file)
@@ -7,9 +7,7 @@
  terms of the Eclipse Public License v1.0 which accompanies this distribution,
  and is available at http://www.eclipse.org/legal/epl-v10.html
 -->
-<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
-  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-  xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
+<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
 
   <profiles>
     <profile>
diff --git a/tox.ini b/tox.ini
new file mode 100644 (file)
index 0000000..c23db1a
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,14 @@
+[tox]
+minversion = 1.6
+envlist =
+    coala
+skipsdist = true
+
+[testenv:coala]
+basepython = python3
+deps =
+    coala
+    coala-bears
+commands =
+    python3 -m nltk.downloader punkt maxent_treebank_pos_tagger averaged_perceptron_tagger
+    coala --non-interactive