-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
121 lines (107 loc) · 2.13 KB
/
Copy pathpyproject.toml
File metadata and controls
121 lines (107 loc) · 2.13 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
[build-system]
requires = ["hatchling>=1.25"]
build-backend = "hatchling.build"
[project]
name = "skeleton-cli"
version = "0.2.0"
description = "Walking-skeleton Python 3.12+ CLI seeded by python-cli-template."
readme = "README.md"
requires-python = ">=3.12"
license = "MIT"
authors = [{ name = "Lila Brooks" }]
dependencies = [
]
# The anthropic/openai extras belong to the optional model-provider layer.
# Delete both extras (and mirror the change in requirements.txt) if your CLI
# does not call language models.
[project.optional-dependencies]
dev = [
"build>=1.2.0",
"coverage[toml]>=7.6.0",
"hatchling>=1.25",
"mypy>=1.18.0",
"pytest>=8.4.0",
"ruff>=0.13.0",
]
anthropic = ["anthropic>=0.69"]
openai = [
"openai>=1.0",
"anyio>=4.4.0",
"h11>=0.16.0",
"idna>=3.15",
"zipp>=3.19.1",
]
[project.scripts]
skeleton-cli = "skeleton_cli.cli:main"
[tool.hatch.build.targets.wheel]
packages = ["src/skeleton_cli"]
[tool.hatch.build.targets.sdist]
include = [
".env.example",
".gitignore",
"AGENTS.md",
"CLAUDE.md",
"src",
"tests",
"docs",
"scripts",
"Makefile",
"requirements.txt",
"README.md",
"CHANGELOG.md",
"LICENSE",
"SECURITY.md",
"SUPPORT.md",
"CONTRIBUTING.md",
"CODE_OF_CONDUCT.md",
]
[tool.pytest.ini_options]
addopts = "-q --strict-config --strict-markers"
pythonpath = ["src"]
testpaths = ["tests"]
[tool.ruff]
line-length = 100
target-version = "py312"
src = ["src", "tests"]
[tool.ruff.lint]
select = [
"A",
"ARG",
"B",
"C4",
"E",
"F",
"I",
"N",
"PIE",
"PL",
"PTH",
"RET",
"RUF",
"SIM",
"T20",
"UP",
"W",
]
ignore = [
"PLR2004",
]
[tool.ruff.lint.per-file-ignores]
"tests/**/*.py" = ["S101"]
[tool.ruff.lint.isort]
known-first-party = ["skeleton_cli"]
[tool.mypy]
python_version = "3.12"
strict = true
mypy_path = "src"
files = ["src/skeleton_cli"]
[[tool.mypy.overrides]]
module = ["anthropic", "openai"]
ignore_missing_imports = true
[tool.coverage.run]
branch = true
source = ["skeleton_cli"]
[tool.coverage.report]
show_missing = true
skip_covered = true
fail_under = 90