chore: init cc-slim with uv + basic files

This commit is contained in:
hc 2026-04-10 16:24:13 +08:00
commit 5528c0b3ca
4 changed files with 46 additions and 0 deletions

23
.gitignore vendored Normal file
View File

@ -0,0 +1,23 @@
# Python & uv
__pycache__/
*.pyc
*.pyo
*.pyd
.venv/
venv/
# OpenCode / Claude Code / AI 工具(必须忽略)
.opencode/
.claude/
# 日志和临时文件
*.log
logs/
.tmp/
# IDE
.vscode/
.idea/
# uv.lock 我们要 commit保持可复现所以不忽略
# .python-version 我们 commit

0
README.md Normal file
View File

6
main.py Normal file
View File

@ -0,0 +1,6 @@
def main():
print("Hello from cc-slim!")
if __name__ == "__main__":
main()

17
pyproject.toml Normal file
View File

@ -0,0 +1,17 @@
[project]
name = "cc-slim"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"anthropic>=0.93.0",
"rich>=14.3.3",
"typer>=0.24.1",
]
[dependency-groups]
dev = [
"pytest>=9.0.3",
"ruff>=0.15.10",
]