Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
93 lines (81 loc) · 1.76 KB
/
Copy pathpyproject.toml
File metadata and controls
93 lines (81 loc) · 1.76 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
[build-system]
requires = ["setuptools>=69", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "foundation-cli"
version = "0.2.0"
description = "A local-first, shell-native assistant CLI."
readme = "README.md"
requires-python = ">=3.12,<3.13"
license = { text = "MIT" }
authors = [
{ name = "Anmol Noor" },
]
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Operating System :: POSIX",
"Operating System :: MacOS",
"Environment :: Console",
"Intended Audience :: Developers",
"Topic :: Software Development",
]
dependencies = [
"click>=8.0,<9.0",
"keyring>=25.5,<26.0",
"pathspec>=1.0,<2.0",
"pydantic>=2.10,<3.0",
"pydantic-settings>=2.6,<3.0",
"prompt-toolkit>=3.0,<4.0",
"rich>=13.7,<14.0",
"typer>=0.12,<1.0",
]
[project.optional-dependencies]
dev = [
"coverage[toml]>=7.6,<8.0",
"mypy>=1.10,<2.0",
"pre-commit>=4.0,<5.0",
"pytest>=8.3,<9.0",
"pytest-asyncio>=0.24,<1.0",
"ruff>=0.6,<1.0",
]
[project.scripts]
foundation = "foundation.cli:main"
[tool.setuptools]
package-dir = { "" = "src" }
[tool.setuptools.packages.find]
where = ["src"]
[tool.ruff]
target-version = "py312"
line-length = 100
src = ["src", "tests"]
extend-exclude = [".uv-cache"]
force-exclude = true
[tool.ruff.lint]
select = [
"E",
"F",
"I",
"B",
"UP",
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.pytest.ini_options]
addopts = "-ra"
testpaths = ["tests"]
pythonpath = ["."]
[tool.coverage.run]
branch = true
source = ["foundation"]
[tool.coverage.report]
show_missing = true
skip_covered = false
[tool.mypy]
python_version = "3.12"
strict = true
warn_unused_configs = true
mypy_path = ["src"]
packages = ["foundation"]