-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
72 lines (60 loc) · 1.9 KB
/
Copy pathpyproject.toml
File metadata and controls
72 lines (60 loc) · 1.9 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
60
61
62
63
64
65
66
67
68
69
70
71
72
[build-system]
requires = ["setuptools>=64", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "claude-code-statusline"
version = "0.14.0"
description = "A Python script for Claude Code statusline with context usage tracking"
readme = "README.md"
license = "MIT"
authors = [{name = "Will Pfleger", email = "pfleger.will@gmail.com"}]
requires-python = ">=3.13"
dependencies = [
"pyyaml>=6.0",
"pydantic>=2.0",
]
[project.urls]
Homepage = "https://github.com/wpfleger96/claude-code-status-line"
Repository = "https://github.com/wpfleger96/claude-code-status-line.git"
Documentation = "https://github.com/wpfleger96/claude-code-status-line#readme"
"Bug Tracker" = "https://github.com/wpfleger96/claude-code-status-line/issues"
Changelog = "https://github.com/wpfleger96/claude-code-status-line/blob/main/CHANGELOG.md"
[project.scripts]
claude-code-statusline = "claude_code_statusline.statusline:main"
[dependency-groups]
dev = [
"pytest>=8.0.0",
"pytest-cov>=4.0.0",
"pytest-benchmark>=4.0.0",
"mypy>=1.0.0",
]
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
testpaths = ["tests"]
markers = [
"unit: Unit tests (no I/O)",
"integration: Integration tests with file I/O",
"performance: Performance benchmarks (opt-in, slow)",
]
# Default: skip performance tests unless explicitly requested
addopts = "-m 'not performance' -v --cov=claude_code_statusline --cov-report=term-missing"
[tool.ruff.lint]
select = ["I", "F", "UP", "B"] # isort, pyflakes, pyupgrade, bugbear
[tool.ruff.lint.isort]
lines-between-types = 1
[tool.mypy]
mypy_path = "src"
namespace_packages = true
explicit_package_bases = true
strict = true
[[tool.mypy.overrides]]
module = ["yaml.*"]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = ["tests.*"]
disallow_untyped_defs = false
disallow_incomplete_defs = false
[[tool.uv.index]]
name = "pypi"
url = "https://pypi.org/simple"