forked from century-arcade/xd
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
37 lines (30 loc) · 861 Bytes
/
tox.ini
File metadata and controls
37 lines (30 loc) · 861 Bytes
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
# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
envlist = py27
[testenv]
basepython = python2.7
# These run in order. unit tests first, then linting. It bails on the first
# problem it finds.
commands =
{envpython} setup.py test
# check-manifest --ignore tox.ini,tests*
python setup.py check -m -r -s
flake8 .
deps =
flake8
docutils
check-manifest
pytest
crossword
puzpy
[flake8]
# These are options specific to the way flake8 runs.
# http://flake8.readthedocs.org/en/latest/config.html
# TODO: E501 is long lines. ignore for now...
ignore = E501
max-line-length = 10000
exclude = .tox,*.egg,build,data,tests/*
select = E,W,F