Enable EM in flake8 and ruff
This commit is contained in:
parent
652713e702
commit
ae2dc8db64
1 changed files with 201 additions and 99 deletions
|
|
@ -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"])
|
||||
|
|
|
|||
Loading…
Reference in a new issue