summaryrefslogtreecommitdiffstats
path: root/ansible_collections/splunk/es/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'ansible_collections/splunk/es/tox.ini')
-rw-r--r--ansible_collections/splunk/es/tox.ini8
1 files changed, 3 insertions, 5 deletions
diff --git a/ansible_collections/splunk/es/tox.ini b/ansible_collections/splunk/es/tox.ini
index a533ccb30..6ada631cb 100644
--- a/ansible_collections/splunk/es/tox.ini
+++ b/ansible_collections/splunk/es/tox.ini
@@ -4,20 +4,18 @@ envlist = linters
skipsdist = True
[testenv]
-basepython = python3
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
-commands = find {toxinidir} -type f -name "*.py[c|o]" -delete
[testenv:black]
install_command = pip install {opts} {packages}
commands =
- black -v -l79 {toxinidir}
+ black -v {toxinidir}
[testenv:linters]
install_command = pip install {opts} {packages}
commands =
- black -v -l79 --check {toxinidir}
+ black -v --diff --check {toxinidir}
flake8 {posargs}
[testenv:venv]
@@ -27,7 +25,7 @@ commands = {posargs}
# E123, E125 skipped as they are invalid PEP-8.
show-source = True
-ignore = E123,E125,E402,E501,E741,W503
+ignore = E123,E125,E203,E402,E501,E741,F401,F811,F841,W503
max-line-length = 160
builtins = _
exclude = .git,.tox,tests/unit/compat/