- Click entrypoint: mybot update (make install / pip -e), mybot chat (claude in repo) - Optional --dangerously-skip-permissions for Claude Code - Makefile install; hatchling package layout - .gitignore: venv, build artifacts, workspace (local symlinks) Made-with: Cursor
32 lines
580 B
TOML
32 lines
580 B
TOML
[project]
|
|
name = "mybot"
|
|
version = "0.1.0"
|
|
description = "Mybot CLI: package update and Claude Code launcher for this repo"
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"click>=8.0.0",
|
|
"rich>=13.0.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
mybot = "mybot.cli:cli"
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["mybot"]
|
|
|
|
[tool.black]
|
|
line-length = 80
|
|
target-version = ["py310"]
|
|
|
|
[tool.ruff]
|
|
line-length = 80
|
|
target-version = "py310"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "UP", "B", "SIM", "W"]
|
|
ignore = ["E501"]
|