aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/codesearch/tox.ini
diff options
context:
space:
mode:
authorPawel Wieczorek <p.wieczorek2@samsung.com>2020-01-07 15:26:52 +0100
committerPawel Wieczorek <p.wieczorek2@samsung.com>2020-01-07 15:26:52 +0100
commit9ee12584b8ae4f6b7f0f3269d3afab9f80f1c0a8 (patch)
tree5568969d275b4cffbb4cde44b4132e7149549ba1 /bootstrap/codesearch/tox.ini
parent09a635790188dd59af2e3cc7612c76afac1bfd53 (diff)
Add Hound code search configuration generator
Configuration is generated from Gerrit-supplied data. Issue-ID: ONAPARC-540 Change-Id: I84d5b87580882926b916ed20dbcd2369be4c77f4 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
Diffstat (limited to 'bootstrap/codesearch/tox.ini')
-rw-r--r--bootstrap/codesearch/tox.ini14
1 files changed, 14 insertions, 0 deletions
diff --git a/bootstrap/codesearch/tox.ini b/bootstrap/codesearch/tox.ini
new file mode 100644
index 000000000..3d0305b65
--- /dev/null
+++ b/bootstrap/codesearch/tox.ini
@@ -0,0 +1,14 @@
+[tox]
+envlist = pep8, pylint
+skipsdist = true
+modules = create_config
+
+[testenv]
+basepython = python3
+deps = -r{toxinidir}/test-requirements.txt
+
+[testenv:pep8]
+commands = flake8 --max-line-length 100
+
+[testenv:pylint]
+commands = pylint -f parseable {[tox]modules}