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.

32 lines
658 B
INI

5 years ago
[tox]
envlist = lint, tests
5 years ago
[testenv]
setenv =
PYTHONDONTWRITEBYTECODE = no_byte_code
[testenv:tests]
deps =
git+git://github.com/matrix-org/synapse@rav/mozilla_username_hacks#egg=matrix-synapse
5 years ago
commands =
python -m unittest discover
[testenv:packaging]
skip_install = True
5 years ago
commands =
/bin/true
5 years ago
[testenv:lint]
5 years ago
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
5 years ago
commands =
python -m black --check --diff .
flake8 matrix_synapse_saml_mozilla tests
isort -c -df -sp setup.cfg -rc matrix_synapse_saml_mozilla tests