summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 265cc3c57818e8129a124c480389cf06f7c33845 (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 =
    py27,
    py33,
    py34,
    py35,
    py36,
    pypy,
    pypy3,
    flake8

[testenv]
deps =
    pytest
    pytest-cov
    pytest-travis-fold
passenv =
    TRAVIS
commands =
    python --version
    sqlformat --version
    py.test --cov=sqlparse

[testenv:flake8]
deps =
    flake8
commands =
    flake8 sqlparse tests setup.py

[flake8]
exclude =
    sqlparse/compat.py
ignore =
    W503,
    E731