summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 915876582f1d83a28a262784cd5c069ad5fb2347 (plain)
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
[tox]
envlist = pyXX

[testenv]
deps=pytest
     flake8
     coverage
     mock

sitepackages=True

commands=
  python -m pytest \
        	 {posargs}


[testenv:pyXX]

[testenv:coverage]
commands=
  python -m pytest \
        --cov=sqlalchemy {posargs}
  python -m coverage xml --include=lib/sqlalchemy/*

[testenv:pep8]
# we are *very very* early in the flake8 process :)
commands = python -m flake8 setup.py sqla_nose.py test/aaa_profiling/


[flake8]

show-source = True
ignore = E711,E123,E125,E128,E265,H305,H307,H402,H405,H703,H803,H904
exclude=.venv,.git,.tox,dist,doc,*egg,build