Bootstrap docs-conf project 31/7431/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 8 Nov 2017 21:07:49 +0000 (16:07 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 8 Nov 2017 21:14:19 +0000 (16:14 -0500)
Change-Id: I7e23f8be866f79d4e410b6e8628d33c6377b8b33
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
.coafile [new file with mode: 0644]
.gitignore [new file with mode: 0644]
.gitreview [new file with mode: 0644]
tox.ini [new file with mode: 0644]

diff --git a/.coafile b/.coafile
new file mode 100644 (file)
index 0000000..65c7f3a
--- /dev/null
+++ b/.coafile
@@ -0,0 +1,29 @@
+[all]
+ignore = .tox/**,
+    .git/**,
+    .gitignore,
+    .gitreview,
+    .gitmodules,
+    node_modules/**
+
+[all.Git]
+bears = GitCommitBear
+ignore_length_regex = Signed-off-by,
+    Also-by,
+    Co-authored-by,
+    http://,
+    https://
+
+[all.Python]
+bears = BanditBear,
+    PEP8Bear,
+    PyCommentedCodeBear,
+    PyDocStyleBear,
+    PyFlakesBear,
+    PyImportSortBear
+files = conf.py
+known_first_party_imports = lftools
+known_third_party_imports = pytest, six
+pydocstyle_ignore = D203, D213, D301
+max_line_length = 120
+
diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..bcbf1c0
--- /dev/null
@@ -0,0 +1,7 @@
+# Ignore Vim temporary files
+.*.sw?
+
+# Python
+.tox/
+docs/_build/
+MANIFEST
diff --git a/.gitreview b/.gitreview
new file mode 100644 (file)
index 0000000..8d6ed8b
--- /dev/null
@@ -0,0 +1,5 @@
+[gerrit]
+host=gerrit.linuxfoundation.org
+port=29418
+project=releng/docs-conf.git
+defaultbranch=master
diff --git a/tox.ini b/tox.ini
new file mode 100644 (file)
index 0000000..94a664c
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,18 @@
+[tox]
+minversion = 1.6
+envlist =
+    coala,
+    docs,
+    docs-linkcheck
+skipsdist=true
+
+[testenv:coala]
+basepython = python3
+deps =
+    coala
+    coala-bears
+    nodeenv==1.1.2
+commands =
+    nodeenv -p
+    coala --non-interactive
+