mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 14:04:26 +08:00
Add qa env
Ignores tests with flake8 completely for now.
This commit is contained in:
@@ -6,3 +6,4 @@ max-line-length = 100
|
||||
ignore =
|
||||
# do not use bare 'except'
|
||||
E722,
|
||||
exclude = test/*
|
||||
|
||||
3
setup.py
3
setup.py
@@ -39,6 +39,9 @@ setup(name='jedi',
|
||||
# coloroma for colored debug output
|
||||
'colorama',
|
||||
],
|
||||
'qa': [
|
||||
'flake8==3.5.0',
|
||||
],
|
||||
},
|
||||
package_data={'jedi': ['evaluate/compiled/fake/*.pym']},
|
||||
platforms=['any'],
|
||||
|
||||
6
tox.ini
6
tox.ini
@@ -1,5 +1,5 @@
|
||||
[tox]
|
||||
envlist = py27, py34, py35, py36
|
||||
envlist = py27, py34, py35, py36, qa
|
||||
[testenv]
|
||||
extras = testing
|
||||
# Overwrite the parso version (only used sometimes).
|
||||
@@ -46,3 +46,7 @@ commands =
|
||||
commands =
|
||||
{envpython} -c "import os; a='{envtmpdir}'; os.path.exists(a) or os.makedirs(a)"
|
||||
{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