-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
109 lines (95 loc) · 2.91 KB
/
pyproject.toml
File metadata and controls
109 lines (95 loc) · 2.91 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
[project]
name = "clippy-code"
dynamic = ["version"]
description = "A powerful CLI coding agent powered by OpenAI-compatible LLMs"
readme = "README.md"
license = { text = "MIT" }
authors = [{ name = "Cell Webb", email = "cellwebb@users.noreply.github.com" }]
requires-python = ">=3.10"
keywords = ["ai", "cli", "coding-agent", "openai", "llm", "developer-tools", "cerebras", "ollama"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development",
"Topic :: Software Development :: Code Generators",
"Topic :: Utilities",
]
dependencies = [
"httpx>=0.28.0",
"mcp>=1.18.0",
"pathspec>=0.12.1",
"prompt-toolkit>=3.0.52",
"pydantic>=2.12.3",
"python-dotenv>=1.1.1",
"pyyaml>=6.0.3",
"questionary>=2.0.1",
"rapidfuzz>=3.0.0",
"requests>=2.31.0",
"rich>=14.2.0",
"tenacity>=9.1.2",
"tiktoken>=0.12.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.4.2",
"pytest-cov>=7.0.0",
"pytest-asyncio>=0.25.2",
"ruff>=0.14.1",
"mypy>=1.18.2",
"types-PyYAML>=6.0.12.20250915",
"types-requests>=2.32.0",
]
[project.scripts]
clippy = "clippy.cli:main"
clippy-code = "clippy.cli:main"
[project.urls]
Homepage = "https://github.com/cellwebb/clippy-code"
Repository = "https://github.com/cellwebb/clippy-code"
Issues = "https://github.com/cellwebb/clippy-code/issues"
Documentation = "https://github.com/cellwebb/clippy-code#readme"
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "src/clippy/__version__.py"
[tool.hatch.build.targets.wheel]
packages = ["src/clippy"]
[tool.hatch.build.targets.wheel.force-include]
"src/clippy/providers.yaml" = "clippy/providers.yaml"
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP"]
ignore = []
[tool.mypy]
python_version = "3.10"
strict = true
warn_return_any = true
warn_unused_configs = true
exclude = [
"src/clippy/ui/vaporwave.*",
"src/clippy/ui/vaporwave/.*",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
filterwarnings = [
# Ignore Python 3.14 file descriptor cleanup warnings during garbage collection
"ignore::pytest.PytestUnraisableExceptionWarning:_pytest.unraisableexception",
# Ignore Google GenAI deprecation warning about _UnionGenericAlias
"ignore::DeprecationWarning:google.genai.types",
]
[tool.pytest_asyncio]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"