| # this file is *not* meant to cover or endorse the use of tox or pytest or |
| # testing in general, |
| # |
| # It's meant to show the use of: |
| # |
| # - check-manifest |
| # confirm items checked into vcs are in your sdist |
| # - python setup.py check (using the readme_renderer extension) |
| # confirms your long_description will render correctly on pypi |
| # |
| # and also to help confirm pull requests to this project. |
| |
| [tox] |
| envlist = py{27} |
| |
| [testenv] |
| basepython = |
| py27: python2.7 |
| whitelist_externals= |
| make |
| deps = |
| check-manifest |
| {py27}: readme_renderer |
| # flake8 out of the picture right now |
| pytest |
| mock |
| pylint |
| nose |
| commands = |
| check-manifest --ignore tox.ini,tests* |
| {py27}: python setup.py check -m -r -s |
| # flake8 . # FIXME: This code smell check goes poorly for us at present |
| make tests |
| # make lint-errors # FIXME: Cause these to operate properly inside tox |
| # make coverage |
| [flake8] |
| exclude = .tox,*.egg,build,data |
| select = E,W,F |