-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy pathtox.ini
More file actions
42 lines (37 loc) · 742 Bytes
/
tox.ini
File metadata and controls
42 lines (37 loc) · 742 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
35
36
37
38
39
40
41
42
[tox]
envlist = flake8,mypy,py312
[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
AWS_SESSION_TOKEN
[testenv:flake8]
basepython = python3.12
deps = flake8
commands =
flake8 aws_embedded_metrics tests
[testenv:mypy]
basepython=python3.12
deps = mypy
commands =
mypy aws_embedded_metrics
[flake8]
max-line-length = 150
exclude = .git,__pycache__,docs/source/conf.py,old,build,dist,**/venv