forked from sqlalchemy/sqlalchemy-collectd
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
34 lines (27 loc) · 744 Bytes
/
tox.ini
File metadata and controls
34 lines (27 loc) · 744 Bytes
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
[tox]
envlist = py
SQLA_REPO = {env:SQLA_REPO:git+https://github.com/sqlalchemy/sqlalchemy.git}
[testenv]
cov_args=--cov=sqlalchemy_collectd --cov-report term --cov-report xml
deps=pytest
mock
sqla11: {[tox]SQLA_REPO}@rel_1_1
sqla12: {[tox]SQLA_REPO}@rel_1_2
sqla13: {[tox]SQLA_REPO}@rel_1_3
sqlamain: {[tox]SQLA_REPO}
cov: pytest-cov
setenv=
cov: COVERAGE={[testenv]cov_args}
commands=py.test {env:COVERAGE:} {posargs}
[testenv:pep8]
basepython = python3.7
deps=
flake8
flake8-import-order
flake8-builtins
flake8-docstrings
flake8-rst-docstrings
pydocstyle<4.0.0
# used by flake8-rst-docstrings
pygments
commands = flake8 ./sqlalchemy_collectd/ setup.py