File: tox.ini

package info (click to toggle)
torf 4.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 988 kB
  • sloc: python: 10,054; makefile: 15; sh: 8
file content (30 lines) | stat: -rw-r--r-- 487 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
27
28
29
30
[tox]
envlist = py313, py312, py311, py310, py39, py38, lint

[testenv]
deps =
  pytest
  pytest-xdist
  pytest-httpserver
  pytest-mock
commands =
  pytest {posargs}

[testenv:lint]
deps =
  flake8
  isort
  ruff
  sphinx
  mypy
commands =
  flake8 torf tests
  isort --check-only torf tests
  ruff check .
  mypy .
  sphinx-build -E -j auto -q -W --keep-going docs /tmp/sphinx-docs-build
  rm -r /tmp/sphinx-docs-build
  git clean docs --force --quiet
allowlist_externals =
  rm
  git