Skip to content

Commit

Permalink
add: pytest-asyncio
Browse files Browse the repository at this point in the history
  • Loading branch information
nisaji committed Oct 18, 2024
1 parent 7ffa3b8 commit 737ac23
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 53 deletions.
86 changes: 36 additions & 50 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 8 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "langrade"
version = "0.1.3"
version = "0.1.4"
description = "A library for grading document relevance using LLMs"
authors = ["nisaji <[email protected]>"]
license = "MIT"
Expand Down Expand Up @@ -29,10 +29,11 @@ ruff = "^0.5.0"
mypy = "^1.10.1"
isort = "^5.13.2"
setuptools = "^70.2.0"
pytest = "^6.2"
pytest-cov = "^2.12"
pytest = "^8.2"
pytest-cov = "^5.0.0"
types-setuptools = "^70.2.0.20240704"

pytest-asyncio = "^0.24.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
Expand All @@ -58,3 +59,7 @@ test = "scripts.run_tests:main"
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v --cov=langrade"
asyncio_mode = "auto"
markers = [
"asyncio: mark a test as an asyncio coroutine",
]

0 comments on commit 737ac23

Please sign in to comment.