You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
700 B
INI
34 lines
700 B
INI
[tox]
|
|
envlist = packaging, lint, tests
|
|
|
|
[testenv]
|
|
setenv =
|
|
PYTHONDONTWRITEBYTECODE = no_byte_code
|
|
|
|
[testenv:tests]
|
|
deps =
|
|
git+git://github.com/matrix-org/synapse@rav/mozilla_username_hacks#egg=matrix-synapse
|
|
|
|
commands =
|
|
python -m unittest discover
|
|
|
|
[testenv:packaging]
|
|
skip_install = True
|
|
deps =
|
|
check-manifest
|
|
commands =
|
|
check-manifest
|
|
|
|
[testenv:lint]
|
|
skip_install = True
|
|
basepython = python3
|
|
deps =
|
|
flake8
|
|
# We pin so that our tests don't start failing on new releases of black.
|
|
black==19.10b0
|
|
isort
|
|
commands =
|
|
python -m black --check --diff .
|
|
flake8 matrix_synapse_saml_mozilla tests
|
|
isort -c -df -sp setup.cfg -rc matrix_synapse_saml_mozilla tests
|