Jason R | 3525f15 | 2016-12-31 17:32:50 -0800 | [diff] [blame] | 1 | # 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] |
| 14 | envlist = py{27} |
| 15 | |
| 16 | [testenv] |
| 17 | basepython = |
| 18 | py27: python2.7 |
| 19 | whitelist_externals= |
| 20 | make |
| 21 | deps = |
| 22 | check-manifest |
| 23 | {py27}: readme_renderer |
| 24 | # flake8 out of the picture right now |
| 25 | pytest |
| 26 | mock |
| 27 | pylint |
| 28 | nose |
| 29 | commands = |
| 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] |
| 37 | exclude = .tox,*.egg,build,data |
| 38 | select = E,W,F |