diff --git a/pyproject.toml b/pyproject.toml index b3b57f6..8e461d5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,25 +1,18 @@ [build-system] -requires = ["hatchling"] +requires = ["hatchling==1.27.0"] build-backend = "hatchling.build" [project] name = "endpoint-monitor" version = "1.0.0" description = "Process-local FastAPI endpoint monitoring service" -requires-python = ">=3.12" +readme = "README.md" +requires-python = ">=3.12,<3.13" dependencies = [ - "fastapi>=0.115,<1", - "httpx>=0.27,<1", - "pydantic-settings>=2.6,<3", - "uvicorn[standard]>=0.32,<1", -] - -[project.optional-dependencies] -dev = [ - "mypy>=1.13,<2", - "pytest>=8.3,<9", - "pytest-anyio>=0.0.0,<1", - "ruff>=0.8,<1", + "fastapi==0.115.12", + "httpx==0.28.1", + "pydantic-settings==2.9.1", + "uvicorn[standard]==0.34.2", ] [tool.hatch.build.targets.wheel] @@ -30,8 +23,8 @@ testpaths = ["tests"] addopts = "-q" [tool.ruff] -line-length = 120 target-version = "py312" +line-length = 100 [tool.ruff.lint] select = ["E", "F", "I", "B", "UP"] @@ -39,5 +32,8 @@ select = ["E", "F", "I", "B", "UP"] [tool.mypy] python_version = "3.12" strict = true -packages = ["app"] plugins = ["pydantic.mypy"] + +[[tool.mypy.overrides]] +module = ["tests.*"] +disallow_untyped_decorators = false