Skip to content
Snippets Groups Projects
Unverified Commit b099ef07 authored by Dagfinn Ilmari Mannsåker's avatar Dagfinn Ilmari Mannsåker Committed by GitHub
Browse files

Make tox actions work on Debian 10 (#7703)


- Remove the requirement for a specific version of Python
- Move dep comment to a separate line, Tox 3.7.0 like trailing ones

Signed-off-by: default avatarDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
parent 0e0a2817
No related branches found
No related tags found
No related merge requests found
Make Tox actions work on Debian 10.
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
envlist = packaging, py35, py36, py37, py38, check_codestyle, check_isort envlist = packaging, py35, py36, py37, py38, check_codestyle, check_isort
[base] [base]
basepython = python3.7
deps = deps =
mock mock
python-subunit python-subunit
...@@ -120,11 +119,11 @@ commands = ...@@ -120,11 +119,11 @@ commands =
[testenv:check_codestyle] [testenv:check_codestyle]
skip_install = True skip_install = True
basepython = python3.6
deps = deps =
flake8 flake8
flake8-comprehensions flake8-comprehensions
black==19.10b0 # We pin so that our tests don't start failing on new releases of black. # We pin so that our tests don't start failing on new releases of black.
black==19.10b0
commands = commands =
python -m black --check --diff . python -m black --check --diff .
/bin/sh -c "flake8 synapse tests scripts scripts-dev synctl {env:PEP8SUFFIX:}" /bin/sh -c "flake8 synapse tests scripts scripts-dev synctl {env:PEP8SUFFIX:}"
...@@ -140,7 +139,6 @@ skip_install = True ...@@ -140,7 +139,6 @@ skip_install = True
deps = towncrier>=18.6.0rc1 deps = towncrier>=18.6.0rc1
commands = commands =
python -m towncrier.check --compare-with=origin/develop python -m towncrier.check --compare-with=origin/develop
basepython = python3.6
[testenv:check-sampleconfig] [testenv:check-sampleconfig]
commands = {toxinidir}/scripts-dev/generate_sample_config --check commands = {toxinidir}/scripts-dev/generate_sample_config --check
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment