-
Notifications
You must be signed in to change notification settings - Fork 36
/
tox.ini
44 lines (36 loc) · 844 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
44
[base]
deps =
coverage
boto3
mock
matrix-synapse
setenv =
PYTHONDONTWRITEBYTECODE = no_byte_code
[testenv]
deps =
{[base]deps}
setenv =
{[base]setenv}
passenv = *
commands =
coverage run --include=s3_storage_provider.py -m twisted.trial test_s3
coverage report -m
[testenv:packaging]
deps =
check-manifest
commands =
check-manifest
[testenv:pep8]
skip_install = True
basepython = python3.7
deps =
flake8
# We pin so that our tests don't start failing on new releases of black.
black==19.10b0
commands =
python -m black --check --diff . scripts/s3_media_upload
flake8 s3_storage_provider.py setup.py scripts/s3_media_upload
[testenv:check_isort]
skip_install = True
deps = isort
commands = isort -c -sp setup.cfg -rc s3_storage_provider.py setup.py scripts/s3_media_upload