diff options
author | Calum Lind <calumlind@gmail.com> | 2018-10-25 15:02:53 +0100 |
---|---|---|
committer | Calum Lind <calumlind@gmail.com> | 2018-11-02 08:47:57 +0000 |
commit | 97e7d95dd3cf9e922db147d49f23c931ad692c31 (patch) | |
tree | da132daaf6c8e569aa9d525a7b81a9049173ebf3 /docs/source/conf.py | |
parent | 26c28445a5f89fe883aa6becae3e87d71ed3f589 (diff) | |
download | deluge-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 'docs/source/conf.py')
-rw-r--r-- | docs/source/conf.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/source/conf.py b/docs/source/conf.py index 30a58504a..d5c61287e 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -96,6 +96,7 @@ autodoc_mock_imports = [ 'libtorrent', 'psyco', 'gi', + 'cairo', 'curses', 'win32api', 'win32file', |