summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 304bfd632c400144cc062db7b205b3992ccc7095 (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
36
37
38
39
40
41
42
[tox]
envlist = full

[testenv]
deps=pytest
     flake8
     coverage
     mock

sitepackages=True
usedevelop=True

commands=
  python -m pytest {posargs}
envdir=pytest

[testenv:full]


[testenv:coverage]
setenv=
  DISABLE_SQLALCHEMY_CEXT=1

commands=
  python -m pytest \
        --cov=lib/sqlalchemy \
        --exclude-tag memory-intensive \
        --exclude-tag timing-intensive \
        -k "not aaa_profiling" \
        {posargs}
  python -m coverage xml --include=lib/sqlalchemy/*

[testenv:pep8]
commands = python -m flake8 {posargs}


[flake8]

show-source = True
ignore = E711,E712,E721,F841,F811
exclude=.venv,.git,.tox,dist,doc,*egg,build