forked from 72squared/redpipe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
26 lines (20 loc) · 655 Bytes
/
tox.ini
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
# Tox (https://tox.testrun.org/) is a tool for running tests in
# multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip
# install tox" and then run "tox" from this directory.
[tox]
envlist = {p39}-{plain,hiredis}, lint
[testenv]
deps =
-r{toxinidir}/dev-requirements.txt
hiredis: hiredis >= 0.1.3
commands = python {envbindir}/coverage run --source redpipe -p test.py
[testenv:lint]
basepython= python3.9
deps =
flake8==7.1.0
mypy==1.10.1
commands = flake8 \
--exclude="./build,.venv*,.tox,dist" \
{posargs}
mypy redpipe test.py