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
44 --run-optional no_jupyter \
45 !ci: --numprocesses auto \
46 ci: --numprocesses 1 \
48 pip install -e .[jupyter]
49 pytest tests --run-optional jupyter \
51 !ci: --numprocesses auto \
52 ci: --numprocesses 1 \
53 --cov --cov-append {posargs}
58 PYTHONPATH = {toxinidir}/src
59 AIOHTTP_NO_EXTENSIONS = 1
63 ; We currently need > aiohttp 3.8.1 that is on PyPI for 3.11
64 git+https://github.com/aio-libs/aiohttp
65 -r{toxinidir}/test_requirements.txt
66 ; a separate worker is required in ci due to https://foss.heptapod.net/pypy/pypy/-/issues/3317
67 ; this seems to cause tox to wait forever
68 ; remove this when pypy releases the bugfix
73 --run-optional no_jupyter \
74 !ci: --numprocesses auto \
75 ci: --numprocesses 1 \
77 pip install -e .[jupyter]
78 pytest tests --run-optional jupyter \
80 !ci: --numprocesses auto \
81 ci: --numprocesses 1 \
82 --cov --cov-append {posargs}
88 -r{toxinidir}/test_requirements.txt
94 coverage run {toxinidir}/scripts/fuzz.py
98 setenv = PYTHONPATH = {toxinidir}/src
102 black --check {toxinidir}/src {toxinidir}/tests