1
0
Fork 0
forked from github/pelican

Cleanup test environment and requirements

- pytest: verbose isn't needed but show skipped tests
- mock is not needed anymore. it is part of stdlib
- Unpin Sphinx and fix warning about lexer
- Mirror tox command for doc build in tasks.py
This commit is contained in:
Deniz Turgut 2020-04-26 00:59:54 +03:00
commit 839629b102
No known key found for this signature in database
GPG key ID: 87B7168D7AB3ED2F
10 changed files with 11 additions and 54 deletions

View file

@ -24,7 +24,7 @@ PRECOMMIT = (
@task
def docbuild(c):
"""Build documentation"""
c.run(f"{VENV_BIN}/sphinx-build docs docs/_build")
c.run(f"{VENV_BIN}/sphinx-build -W docs docs/_build")
@task(docbuild)