summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini14
1 files changed, 13 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index c7d7d3182..9972f22f4 100644
--- a/tox.ini
+++ b/tox.ini
@@ -32,7 +32,6 @@ deps =
mccabe
pytest
pytest-xdist
- pyenchant
setenv =
COVERAGE_FILE = {toxinidir}/.coverage.{envname}
@@ -46,6 +45,19 @@ commands =
python -c "import os;cov_strip_abspath = open(os.environ['COVERAGE_FILE'], 'r').read().replace('.tox' + os.sep + os.path.relpath('{envsitepackagesdir}', '{toxworkdir}') + os.sep, '');open(os.environ['COVERAGE_FILE'], 'w').write(cov_strip_abspath)"
changedir = {toxworkdir}
+
+[testenv:spelling]
+deps =
+ https://github.com/PyCQA/astroid/tarball/master#egg=astroid-master-2.0
+ pytest
+ pytest-xdist
+ pyenchant
+
+commands =
+ python -Wi -m pytest {envsitepackagesdir}/pylint/test/ {posargs:} -k unittest_checker_spelling
+
+changedir = {toxworkdir}
+
[testenv:coveralls]
setenv =
COVERAGE_FILE = {toxinidir}/.coverage