1
0
forked from VimPlug/jedi

Add qa env

Ignores tests with flake8 completely for now.
This commit is contained in:
Daniel Hahler
2018-07-15 23:25:08 +02:00
parent 3bdb941daa
commit 28ecbd6b6a
3 changed files with 9 additions and 1 deletions

View File

@@ -6,3 +6,4 @@ max-line-length = 100
ignore = ignore =
# do not use bare 'except' # do not use bare 'except'
E722, E722,
exclude = test/*

View File

@@ -39,6 +39,9 @@ setup(name='jedi',
# coloroma for colored debug output # coloroma for colored debug output
'colorama', 'colorama',
], ],
'qa': [
'flake8==3.5.0',
],
}, },
package_data={'jedi': ['evaluate/compiled/fake/*.pym']}, package_data={'jedi': ['evaluate/compiled/fake/*.pym']},
platforms=['any'], platforms=['any'],

View File

@@ -1,5 +1,5 @@
[tox] [tox]
envlist = py27, py34, py35, py36 envlist = py27, py34, py35, py36, qa
[testenv] [testenv]
extras = testing extras = testing
# Overwrite the parso version (only used sometimes). # Overwrite the parso version (only used sometimes).
@@ -46,3 +46,7 @@ commands =
commands = commands =
{envpython} -c "import os; a='{envtmpdir}'; os.path.exists(a) or os.makedirs(a)" {envpython} -c "import os; a='{envtmpdir}'; os.path.exists(a) or os.makedirs(a)"
{envpython} sith.py --record {envtmpdir}/record.json random {posargs:jedi} {envpython} sith.py --record {envtmpdir}/record.json random {posargs:jedi}
[testenv:qa]
commands = flake8 {posargs:jedi}
deps =
extras = qa