synapse-s3-storage-provider/tox.ini
David Robertson fa27fa1a92
Fix CI again (#90)
* Fix CI again

* Try invoking isort etc directly

* Don't bother nuking pyc files

* Remove usedevelop and commented-out 'find' invocation
2023-01-09 18:11:45 +00:00

44 lines
844 B
INI

[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