Rename "flakes" testenv to "linting" as requested in review
This commit is contained in:
parent
02dd6df6e6
commit
3e34db50fb
|
@ -9,7 +9,7 @@ env:
|
|||
matrix:
|
||||
- TESTENV=coveralls
|
||||
- TESTENV=doctesting
|
||||
- TESTENV=flakes
|
||||
- TESTENV=linting
|
||||
- TESTENV=py26
|
||||
- TESTENV=py27
|
||||
- TESTENV=py27-cxfreeze
|
||||
|
|
|
@ -179,10 +179,10 @@ but here is a simple overview:
|
|||
You need to have Python 2.7 and 3.5 available in your system. Now
|
||||
running tests is as simple as issuing this command::
|
||||
|
||||
$ python runtox.py -e py27,py35,flakes
|
||||
$ python runtox.py -e linting,py27,py35
|
||||
|
||||
This command will run tests via the "tox" tool against Python 2.7 and 3.5
|
||||
and also perform "flakes" coding-style checks. ``runtox.py`` is
|
||||
and also perform "lint" coding-style checks. ``runtox.py`` is
|
||||
a thin wrapper around ``tox`` which installs from a development package
|
||||
index where newer (not yet released to pypi) versions of dependencies
|
||||
(especially ``py``) might be present.
|
||||
|
|
|
@ -8,7 +8,7 @@ build: false # Not a C# project, build stuff at the test step instead.
|
|||
|
||||
test_script:
|
||||
- 'set TESTENVS=
|
||||
flakes,
|
||||
linting,
|
||||
py26,
|
||||
py27,
|
||||
py33,
|
||||
|
|
4
tox.ini
4
tox.ini
|
@ -2,7 +2,7 @@
|
|||
minversion=2.0
|
||||
distshare={homedir}/.tox/distshare
|
||||
envlist=
|
||||
flakes,py26,py27,py33,py34,py35,pypy,
|
||||
linting,py26,py27,py33,py34,py35,pypy,
|
||||
{py27,py35}-{pexpect,xdist,trial},
|
||||
py27-nobyte,doctesting,py27-cxfreeze
|
||||
|
||||
|
@ -31,7 +31,7 @@ commands=
|
|||
[testenv:genscript]
|
||||
commands= py.test --genscript=pytest1
|
||||
|
||||
[testenv:flakes]
|
||||
[testenv:linting]
|
||||
basepython = python2.7
|
||||
deps = flake8
|
||||
restructuredtext_lint
|
||||
|
|
Loading…
Reference in New Issue