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
7 PYTHONPATH = {toxinidir}/src
8 PYTHONWARNDEFAULTENCODING = 1
10 # We use `recreate=True` because otherwise, on the second run of `tox -e py`,
11 # the `no_jupyter` tests would run with the jupyter extra dependencies installed.
12 # See https://github.com/psf/black/issues/2367.
15 -r{toxinidir}/test_requirements.txt
16 ; parallelization is disabled on CI because pytest-dev/pytest-xdist#620 occurs too frequently
17 ; local runs can stay parallelized since they aren't rolling the dice so many times as like on CI
21 pytest tests --run-optional no_jupyter \
22 !ci: --numprocesses auto \
24 pip install -e .[jupyter]
25 pytest tests --run-optional jupyter \
27 !ci: --numprocesses auto \
28 --cov --cov-append {posargs}
32 setenv = PYTHONPATH = {toxinidir}/src
36 -r{toxinidir}/test_requirements.txt
37 ; a separate worker is required in ci due to https://foss.heptapod.net/pypy/pypy/-/issues/3317
38 ; this seems to cause tox to wait forever
39 ; remove this when pypy releases the bugfix
43 --run-optional no_jupyter \
44 !ci: --numprocesses auto \
46 pip install -e .[jupyter]
47 pytest tests --run-optional jupyter \
49 !ci: --numprocesses auto \
54 PYTHONPATH = {toxinidir}/src
55 AIOHTTP_NO_EXTENSIONS = 1
59 ; We currently need > aiohttp 3.8.1 that is on PyPI for 3.11
60 git+https://github.com/aio-libs/aiohttp
61 -r{toxinidir}/test_requirements.txt
62 ; a separate worker is required in ci due to https://foss.heptapod.net/pypy/pypy/-/issues/3317
63 ; this seems to cause tox to wait forever
64 ; remove this when pypy releases the bugfix
69 --run-optional no_jupyter \
70 !ci: --numprocesses auto \
71 ci: --numprocesses 1 \
73 pip install -e .[jupyter]
74 pytest tests --run-optional jupyter \
76 !ci: --numprocesses auto \
77 ci: --numprocesses 1 \
78 --cov --cov-append {posargs}
84 -r{toxinidir}/test_requirements.txt
90 coverage run {toxinidir}/scripts/fuzz.py
94 setenv = PYTHONPATH = {toxinidir}/src
98 black --check {toxinidir}/src {toxinidir}/tests