Skip to content

Commit

Permalink
Encode pytest asyncio setting in pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
inyutin committed Oct 27, 2024
1 parent 7af8295 commit 87c03ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ jobs:
- name: Test with pytest
env:
PYTHONPATH: .
run: pytest --asyncio-mode=auto
run: pytest
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,6 @@ unfixable = ["FBT002"]
"S101", # Use of assert detected
"SLF001", # Private member accessed
]

[tool.pytest.ini_options]
asyncio_mode = "auto"

0 comments on commit 87c03ed

Please sign in to comment.