Skip to content
Myr

run pre-commit during tests

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Lord · committed by David Lord · parent 8fe37af · Browse files · 2 files+9 added−15 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+9 added−15 removed

  • other:+9 added−15 removed

2 files+9 added−15 removed

modified:.azure-pipelines.yml+3 added-15 removed
modified:tox.ini+6 added
1[tox]2envlist =3 py{38,37,36,35,27,py3,py}4 style5 docs6skip_missing_interpreters = true78[testenv]
1 unmodified line
10 pytest11 colorama12commands = pytest --tb=short --basetemp={envtmpdir} {posargs}1314[testenv:style]15deps = pre-commit16skip_install = true17commands = pre-commit run --all-files --show-diff-on-failure1819[testenv:docs]20deps = -r docs/requirements.txt21commands = sphinx-build -W -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html