summaryrefslogtreecommitdiffstats
path: root/requirements-tests.txt
diff options
context:
space:
mode:
authorCalum Lind <calumlind@gmail.com>2018-10-25 15:02:53 +0100
committerCalum Lind <calumlind@gmail.com>2018-11-02 08:47:57 +0000
commit97e7d95dd3cf9e922db147d49f23c931ad692c31 (patch)
treeda132daaf6c8e569aa9d525a7b81a9049173ebf3 /requirements-tests.txt
parent26c28445a5f89fe883aa6becae3e87d71ed3f589 (diff)
downloaddeluge-97e7d95dd3cf9e922db147d49f23c931ad692c31.tar.gz
deluge-97e7d95dd3cf9e922db147d49f23c931ad692c31.tar.bz2
deluge-97e7d95dd3cf9e922db147d49f23c931ad692c31.zip
Cleanup tox configuration
There were issues with dependencies and tox environments under Python 3 so refactored the tox configuration to be more consistent and clearer. - Moved travis to default to Python 3 for linting and tests. - Fixed missing mock for cairo in sphinx config. - Collated the base deps sections to improve readability. - Added PYTEST_ADDOPTS env to override pytest verbosity in just tox tests as this was a common option being used. - Renamed env 'testcoverage' to the more concise 'coverage' and moved html creation under single env as handy to have this output as well as report. - Cleaned up the isort config for gtk3. - Added `bad-continuation` to pylint config as conflcts with black formatting. - Fix isort issue with bbfreeze script. This will likely be removed in future so just skip sorting it.
Diffstat (limited to 'requirements-tests.txt')
-rw-r--r--requirements-tests.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/requirements-tests.txt b/requirements-tests.txt
index 841b68fa4..e499bf989 100644
--- a/requirements-tests.txt
+++ b/requirements-tests.txt
@@ -2,6 +2,7 @@ pytest
pytest-twisted
pytest-cov
mock
+pre-commit
flake8
flake8-quotes
flake8-isort