[tox] envlist = py3{7,8,9,10,11,12,13,14}, pypy3{9,10,11}, black, flake8, mypy, docs, manifest isolated_build = true [gh-actions] python = 3: py313 3.7: py37 3.8: py38 3.9: py39 3.10: py310 3.11: py311 3.12: py312 3.13: py313 3.14: py314 pypy3: pypy39 pypy3.9: pypy39 pypy3.10: pypy310 pypy3.11: pypy311 [testenv:black] basepython = python3.14 deps = black==26.5.1 commands = black src tests setup.py -t py37 --check [testenv:flake8] basepython = python3.14 deps = flake8>=7.3,<8 commands = flake8 src tests setup.py [testenv:mypy] basepython = python3.14 deps = mypy>=2.3,<3 pytest>=8.4,<10 commands = mypy src tests [testenv:docs] basepython = python3.14 deps = sphinx>=9.1,<10 sphinx_rtd_theme>=3.1,<4 commands = sphinx-build -b html -nEW docs docs/_build/html [testenv:manifest] basepython = python3.14 deps = check-manifest>=0.51,<1 commands = check-manifest -v [testenv] deps = pytest>=7.4,<10 pytest-asyncio>=0.21,<2 pytest-benchmark>=4.0,<6 pytest-cov>=4.1,<8 pytest-describe>=2,<4 pytest-timeout>=2.4,<3 py3{7,8,9},pypy39: typing-extensions>=4.1,<5 commands = # to also run the time-consuming tests: tox -e py314 -- --run-slow # to run the benchmarks: tox -e py314 -- -k benchmarks --benchmark-enable py3{7,8,9,10,11,13},pypy3{9,10,11}: pytest tests {posargs} py314: pytest tests {posargs: --cov-report=term-missing --cov=graphql --cov=tests --cov-fail-under=100}