forked from ArdanaCLM/cinderlm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
38 lines (34 loc) · 1.33 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
# Sample tox.ini configuration file. Copy to tox.ini and edit to needs.
# More information on the wiki:
# https://github.com/sympy/sympy/wiki/Using-Tox
# Also see the tox documentation at
# http://tox.testrun.org/en/latest/config.html
# Note: don't forget to install it:
# pip install tox
[tox]
# Define the environments. By default, py24-py32, jython, pypy.
# It's also possible to define a custom environment, like docs.
# You must list a defined environment here in order to run it.
envlist = py27,py33,py34,pep8
skipdists = True
[testenv]
# Commands to be executed, it could be anything. The brackets are
# important, as they allow us to call bin/test with arguments we
# pass on through tox. Applies to all default environments.
# You can run multiple commands by putting them on subsequent lines
# Note that you should use bin/test and bin/doctest rather than setup.py
# test, because the latter does not work with [].
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = nosetests --cover-package=cinderlm --with-xcover tests
[testenv:pep8]
commands =
flake8 -v cinderlm
[flake8]
ignore = H101
#select = H102,H103,H201,H404,H501,H903
show-source = True
exclude = .venv,.tox,.ropeproject,dist,doc,test,*egg