forked from pyeve/eve-sqlalchemy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
41 lines (35 loc) · 840 Bytes
/
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
[tox]
envlist =
py{27,34,35,36},
pypy,
flake8,
isort,
rstcheck,
whitespace
[testenv]
deps = .[test]
commands = py.test {posargs}
[testenv:flake8]
deps = flake8
commands = flake8 eve_sqlalchemy examples *.py
[testenv:isort]
deps = isort
commands =
isort --recursive --check-only --diff -p eve_sqlalchemy eve_sqlalchemy
isort --recursive --check-only --diff -o eve_sqlalchemy \
-p foreign_primary_key -p one_to_many -p many_to_many \
-p many_to_one -p simple \
examples
[testenv:rstcheck]
deps = rstcheck
commands = /bin/sh -c "rstcheck docs/*.rst *.rst"
[testenv:whitespace]
deps = flake8
commands = /bin/sh -c "flake8 --select=W1,W2,W3 docs/*.rst *"
[travis]
python =
2.7: py27
3.4: py34
3.5: py35,flake8,isort,rstcheck,whitespace
3.6: py36
pypy: pypy