From 7b84681e3e7cc6ae4f3f288e495c93a59ed83c84 Mon Sep 17 00:00:00 2001 From: Will Kahn-Greene Date: Tue, 28 Apr 2026 11:25:17 -0400 Subject: [PATCH] fix: fix tox platform restrictions Several environments were restricted to running only on Linux. I'm not really sure why and it prevents me from running tests on macOS. I changed the restriction to run on Linux and Darwin. vendorverify definitely won't run on Windows, so we need to restrict that. --- tox.ini | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tox.ini b/tox.ini index 948bd6b1..0506358a 100644 --- a/tox.ini +++ b/tox.ini @@ -92,7 +92,7 @@ commands = [testenv:py310-lint] changedir = {toxinidir} -platform = linux +platform = linux|darwin commands = ruff format --check --target-version=py310 --exclude=_vendor setup.py bleach/ tests/ tests_website/ ruff check --target-version=py310 --exclude=_vendor setup.py bleach/ tests/ tests_website/ @@ -101,15 +101,15 @@ commands = allowlist_externals = {toxinidir}/scripts/vendor_verify.sh changedir = {toxinidir} deps = -rrequirements-dev.txt -platform = linux +platform = linux|darwin commands = {toxinidir}/scripts/vendor_verify.sh [testenv:py310-docs] changedir = docs deps = -rrequirements-dev.txt +platform = linux|darwin extras = css -platform = linux commands = sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html sphinx-build -b doctest -d {envtmpdir}/doctrees . {envtmpdir}/doctest