File: tox.ini

package info (click to toggle)
python-sphinxcontrib.apidoc 0.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 216 kB
  • sloc: python: 247; makefile: 18
file content (21 lines) | stat: -rw-r--r-- 387 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[tox]
minversion = 4.4
envlist = py{38,39,310,311},style

[testenv]
setenv =
    PYTHONDEVMODE = 1
    PYTHONWARNINGS = all
    PYTEST_ADDOPTS = {env:PYTEST_ADDOPTS:} --color yes
deps =
    -r{toxinidir}/test-requirements.txt
commands=
    pytest

[testenv:style]
description =
    Run style checks.
deps =
    pre-commit
commands =
    pre-commit run --all-files --show-diff-on-failure