Enable EM in flake8 and ruff

This commit is contained in:
Alexander Hess 2026-11-30 22:59:41 +01:00
commit ae2dc8db64
Signed by: alexander
GPG key ID: B46EDB4DFC26805D

View file

@ -27,10 +27,12 @@ pytest_plugins = [
# The TESTING environment variable is set
# in pyproject.toml in pytest's config section.
if not os.getenv("TESTING"):
raise RuntimeError("Tests must be executed with TESTING set in the environment")
msg = "Tests must be executed with TESTING set in the environment"
raise RuntimeError(msg)
if not pkg_config.TESTING:
raise RuntimeError("The testing configuration was not loaded")
msg = "The testing configuration was not loaded"
raise RuntimeError(msg)
@pytest.fixture(scope="session", params=["all_at_once", "sequentially"])