-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
42 lines (40 loc) · 1.15 KB
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# 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
# confirm required package meta-data in setup.py
# - readme_renderer (when using a ReStructuredText README)
# confirms your long_description will render correctly on PyPI.
#
# and also to help confirm pull requests to this project.
[tox]
envlist = py{27,34,35,36}
[testenv]
basepython =
py27: python2.7
py34: python3.4
py35: python3.5
py36: python3.6
deps =
check-manifest
# If your project uses README.rst, uncomment the following:
readme_renderer
flake8
pytest
commands =
check-manifest --ignore tox.ini,tests*
# This repository uses a README.rst long_description, so the -r flag to
# `setup.py check` is required. If your project contains a Markdown README.md,
# use `python setup.py check -m -s` instead.
python setup.py check -m -r -s
# flake8 .
# flake8 tocoli
# py.test tests
pytest tests
[flake8]
exclude = .tox,*.egg,build,data
select = E,W,F