File: tox.ini

package info (click to toggle)
python-testtools 2.8.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,244 kB
  • sloc: python: 15,086; makefile: 127; sh: 3
file content (24 lines) | stat: -rw-r--r-- 376 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
[tox]
envlist = py310,py311,py312,py313,py314,pypy3
minversion = 4.2

[testenv]
usedevelop = True
extras =
  test
  twisted
commands =
  python -W once -m testtools.run tests.test_suite {posargs}

[testenv:ruff]
deps =
  ruff
commands =
  ruff check --fix .
  ruff format .

[testenv:mypy]
deps =
  mypy
commands =
  mypy --cache-dir="{envdir}/mypy_cache" {posargs:testtools}