All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
3 envlist = {,ci-}py{37,38,39,310,311,py3},fuzz,run_self
6 setenv = PYTHONPATH = {toxinidir}/src
8 # We use `recreate=True` because otherwise, on the second run of `tox -e py`,
9 # the `no_jupyter` tests would run with the jupyter extra dependencies installed.
10 # See https://github.com/psf/black/issues/2367.
13 -r{toxinidir}/test_requirements.txt
14 ; parallelization is disabled on CI because pytest-dev/pytest-xdist#620 occurs too frequently
15 ; local runs can stay parallelized since they aren't rolling the dice so many times as like on CI
19 pytest tests --run-optional no_jupyter \
20 !ci: --numprocesses auto \
22 pip install -e .[jupyter]
23 pytest tests --run-optional jupyter \
25 !ci: --numprocesses auto \
26 --cov --cov-append {posargs}
30 setenv = PYTHONPATH = {toxinidir}/src
34 -r{toxinidir}/test_requirements.txt
35 ; a separate worker is required in ci due to https://foss.heptapod.net/pypy/pypy/-/issues/3317
36 ; this seems to cause tox to wait forever
37 ; remove this when pypy releases the bugfix
42 --run-optional no_jupyter \
43 !ci: --numprocesses auto \
44 ci: --numprocesses 1 \
46 pip install -e .[jupyter]
47 pytest tests --run-optional jupyter \
49 !ci: --numprocesses auto \
50 ci: --numprocesses 1 \
51 --cov --cov-append {posargs}
56 PYTHONPATH = {toxinidir}/src
57 AIOHTTP_NO_EXTENSIONS = 1
61 ; We currently need > aiohttp 3.8.1 that is on PyPI for 3.11
62 git+https://github.com/aio-libs/aiohttp
63 -r{toxinidir}/test_requirements.txt
64 ; a separate worker is required in ci due to https://foss.heptapod.net/pypy/pypy/-/issues/3317
65 ; this seems to cause tox to wait forever
66 ; remove this when pypy releases the bugfix
71 --run-optional no_jupyter \
72 !ci: --numprocesses auto \
73 ci: --numprocesses 1 \
75 pip install -e .[jupyter]
76 pytest tests --run-optional jupyter \
78 !ci: --numprocesses auto \
79 ci: --numprocesses 1 \
80 --cov --cov-append {posargs}
86 -r{toxinidir}/test_requirements.txt
92 coverage run {toxinidir}/scripts/fuzz.py
96 setenv = PYTHONPATH = {toxinidir}/src
100 black --check {toxinidir}/src {toxinidir}/tests