summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 2e5010a874ec9d0441ee5c6b7db00f14b15c5545 (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
[tox]
skip_missing_interpreters = True
envlist =
    py27
    py34
    py35
    py36
    py37
    py38
    pypy_54
    flake8

[testenv]
deps =
    pytest
    pytest-cov
    pytest-travis-fold
passenv =
    TRAVIS
commands =
    sqlformat --version
    pytest --cov=sqlparse {posargs}

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