-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
59 lines (50 loc) · 1.22 KB
/
Copy pathpyproject.toml
File metadata and controls
59 lines (50 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
[project]
name = "context-analyzer-tool"
version = "0.3.1"
description = "Per-tool-call context window analyzer for Claude Code"
readme = "README.md"
requires-python = ">=3.11"
license = "MIT"
dependencies = [
"fastapi>=0.115.0",
"uvicorn[standard]>=0.34.0",
"aiosqlite>=0.21.0",
"httpx>=0.27.0",
"typer>=0.15.0",
"rich>=13.0.0",
"pydantic>=2.10.0",
]
[project.optional-dependencies]
classifier = ["anthropic>=0.43.0"]
[project.scripts]
context-analyzer-tool = "context_analyzer_tool.cli:app"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/context_analyzer_tool"]
[tool.ruff]
src = ["src"]
target-version = "py311"
line-length = 99
[tool.ruff.lint]
select = ["E", "F", "W", "I", "N", "UP", "B", "A", "SIM"]
ignore = [
"B008", # function-call-in-default-argument — standard for FastAPI Depends() and Typer Option()
]
[tool.pyright]
pythonVersion = "3.11"
typeCheckingMode = "strict"
include = ["src"]
venvPath = "."
venv = ".venv"
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
[dependency-groups]
dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.24.0",
"ruff>=0.8.0",
"pyright>=1.1.390",
]