File: tox.ini

package info (click to toggle)
python-daiquiri 3.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 240 kB
  • sloc: python: 888; makefile: 5
file content (26 lines) | stat: -rw-r--r-- 474 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
22
23
24
25
26
[tox]
envlist = py310,py311,py312,py313,pep8,docs

[testenv]
allowlist_externals = sh
deps = -e.[test]
commands =
  pytest {posargs}
  sh -c "for example in examples/*.py; do python $example; done"
  sh -c "rm errors.log everything.log"

[testenv:pep8]
basepython = python3.13
deps =
    {[testenv]deps}
    ruff
    mypy

commands =
    ruff format --check .
    ruff check .
    mypy

[testenv:docs]
deps = sphinx
commands = sphinx-build -b html doc/source doc/build/html