fixed tests
This commit is contained in:
@@ -9,10 +9,20 @@ dependencies = [
|
||||
"uvicorn>=0.38.0",
|
||||
]
|
||||
|
||||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["src/baby_monitor"]
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"httpx>=0.28.1",
|
||||
"mypy>=1.18.2",
|
||||
"pre-commit>=4.3.0",
|
||||
"pytest>=8.4.2",
|
||||
"pytest-cov>=7.0.0",
|
||||
"pyupgrade>=3.21.0",
|
||||
"ruff>=0.14.3",
|
||||
]
|
||||
@@ -39,3 +49,9 @@ warn_unreachable = true # catch unreachable code
|
||||
show_error_codes = true # show error codes in output
|
||||
explicit_package_bases = true # reduce risk of import confusion
|
||||
namespace_packages = true # enable namespace packages
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
markers = [
|
||||
"unit: marks tests as unit tests",
|
||||
"integration: marks tests as integration tests",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user