forked from VimPlug/jedi
Add qa env
Ignores tests with flake8 completely for now.
This commit is contained in:
@@ -6,3 +6,4 @@ max-line-length = 100
|
|||||||
ignore =
|
ignore =
|
||||||
# do not use bare 'except'
|
# do not use bare 'except'
|
||||||
E722,
|
E722,
|
||||||
|
exclude = test/*
|
||||||
|
|||||||
3
setup.py
3
setup.py
@@ -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'],
|
||||||
|
|||||||
6
tox.ini
6
tox.ini
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user