diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 4f76487..d616833 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -37,4 +37,4 @@ jobs: - name: Test with pytest env: PYTHONPATH: . - run: pytest --asyncio-mode=auto + run: pytest diff --git a/pyproject.toml b/pyproject.toml index b9e29d0..5a88535 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,3 +54,6 @@ unfixable = ["FBT002"] "S101", # Use of assert detected "SLF001", # Private member accessed ] + +[tool.pytest.ini_options] +asyncio_mode = "auto"