File: tox.ini

package info (click to toggle)
vulture 2.14-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 464 kB
  • sloc: python: 3,254; makefile: 12
file content (28 lines) | stat: -rw-r--r-- 643 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
[tox]
envlist = cleanup, py{38,310,311,312,313}  # Skip py39 since it chokes on distutils.
skip_missing_interpreters = true

# Erase old coverage results, then accumulate them during this tox run.
[testenv:cleanup]
deps =
  coverage
commands =
  coverage erase

[testenv]
deps =
  coverage
  pint  # Use latest version to catch API changes.
  pytest
  pytest-cov
  pytype ; python_version < '3.13'
commands =
  pytest {posargs}
# Install package as wheel in all envs (https://hynek.me/articles/turbo-charge-tox/).
package = wheel
wheel_build_env = .pkg

[pytest]
filterwarnings =
  error::DeprecationWarning
  error::PendingDeprecationWarning