-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtox.ini
43 lines (35 loc) · 854 Bytes
/
tox.ini
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
43
[tox]
envlist = py3{6,7,8}, lint
skip_missing_interpreters = true
[testenv]
deps = httmock
pytest
pytest-cov
commands = pytest {posargs} tests
usedevelop = true
[testenv:lint]
deps = flake8
flake8-import-order
flake8-quotes
pep8-naming
commands = flake8 {posargs} setup.py tests viime
[testenv:release]
skip_install = true
skipsdist = true
basepython = python2.7
commands = python setup.py sdist
[testenv:mypy]
deps = mypy
commands = mypy viime
[flake8]
format = pylint
application-import-names = viime
import-order-style = google
max-line-length = 100
max-complexity = 12
[pytest]
# ignore sqlalchemy warnings until the are fixed upstream:
# https://github.com/pallets/flask-sqlalchemy/pull/684
filterwarnings =
ignore::DeprecationWarning:sqlalchemy.*:
ignore::DeprecationWarning:flask_sqlalchemy.*: