blob: ff5b77e4f6c36da5020880b0895177a06b6fde06 [file] [log] [blame]
Jason R3525f152016-12-31 17:32:50 -08001# this file is *not* meant to cover or endorse the use of tox or pytest or
2# testing in general,
3#
4# It's meant to show the use of:
5#
6# - check-manifest
7# confirm items checked into vcs are in your sdist
8# - python setup.py check (using the readme_renderer extension)
9# confirms your long_description will render correctly on pypi
10#
11# and also to help confirm pull requests to this project.
12
13[tox]
14envlist = py{27}
15
16[testenv]
17basepython =
18 py27: python2.7
19whitelist_externals=
20 make
21deps =
22 check-manifest
23 {py27}: readme_renderer
24 # flake8 out of the picture right now
25 pytest
26 mock
27 pylint
28 nose
29commands =
30 check-manifest --ignore tox.ini,tests*
31 {py27}: python setup.py check -m -r -s
32 # flake8 . # FIXME: This code smell check goes poorly for us at present
33 make tests
34 # make lint-errors # FIXME: Cause these to operate properly inside tox
35 # make coverage
36[flake8]
37exclude = .tox,*.egg,build,data
38select = E,W,F