forked from awslabs/aws-embedded-metrics-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
41 lines (36 loc) · 717 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
[tox]
envlist = flake8,mypy,py37
[testenv]
deps =
pytest
pytest-asyncio
pytest-mock
Faker
aiohttp
aresponses
commands = pytest --ignore=tests/integ {posargs}
[testenv:integ]
deps =
pytest
pytest-asyncio
aiohttp
boto3
pytest-timeout
commands = pytest --capture=no tests/integ/agent/test_end_to_end.py
passenv =
AWS_REGION
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
[testenv:flake8]
basepython = python3.7
deps = flake8
commands =
flake8 aws_embedded_metrics tests
[testenv:mypy]
basepython=python3.7
deps = mypy
commands =
mypy aws_embedded_metrics
[flake8]
max-line-length = 150
exclude = .git,__pycache__,docs/source/conf.py,old,build,dist,**/venv