File: tox.ini

package info (click to toggle)
python-pytest-freezegun 0.4.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 128 kB
  • sloc: python: 223; makefile: 5
file content (24 lines) | stat: -rw-r--r-- 615 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
# For more information about tox, see https://tox.readthedocs.io/en/latest/
[tox]
envlist = {py35,py36,py37,py38,pypy3}-{pt3,pt4,pt5},py38-ptNext-fgNext,flake8

[testenv]
deps =
  coverage
  pip >= 19
  pt3: pytest>=3,<4
  pt4: pytest>=4,<5
  pt5: pytest>=5,<6
  ptNext: git+https://github.com/pytest-dev/pytest/
  fgNext: git+https://github.com/spulec/freezegun/
commands = coverage run -p -m pytest tests/ {posargs}

[testenv:flake8]
skip_install = true
deps = flake8
commands = flake8 pytest_freezegun.py setup.py tests

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