-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
93 lines (86 loc) · 1.61 KB
/
pyproject.toml
File metadata and controls
93 lines (86 loc) · 1.61 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
[project]
name = "miniagent"
version = "0.1.0"
description = "A mini ai agent cli tool."
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"aiofiles>=25.1.0",
"anthropic[aiohttp]>=0.101.0",
"httpx[socks]>=0.28.1",
"openai>=2.30.0",
"prompt-toolkit>=3.0.52",
"pydantic>=2.12.5",
"pydantic-settings>=2.13.1",
"python-frontmatter>=1.1.0",
]
[dependency-groups]
dev = [
"codespell>=2.4.2",
"pyright>=1.1.409",
"pytest>=9.0.2",
"pytest-asyncio>=1.3.0",
"pytest-cov>=7.1.0",
"ruff>=0.15.13",
]
[tool.ruff]
target-version = "py312"
line-length = 114
indent-width = 4
extend-exclude = [
".venv",
"__pycache__",
".pytest_cache",
".ruff_cache",
]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # import sorting
"UP", # modern Python upgrades
"B", # likely bugs
"RUF", # ruff specific rules
]
[tool.ruff.lint.per-file-ignores]
"{prompts,tools}/*.py" = ["E501"]
[tool.ruff.format]
quote-style = "single"
indent-style = "space"
line-ending = 'lf'
skip-magic-trailing-comma = false
[tool.pyright]
pythonVersion = "3.12"
pythonPlatform = "All"
typeCheckingMode = "basic"
reportMissingTypeStubs = false
reportCallIssue = "warning"
reportArgumentType = "warning"
include = [
"main.py",
"agent",
"core",
"llm",
"prompts",
"tools",
"ui",
"tests",
]
exclude = [
".venv",
"__pycache__",
]
venvPath = "."
venv = ".venv"
[tool.codespell]
skip = [
".git",
".venv",
".ruff_cache",
".pytest_cache",
"__pycache__",
"uv.lock",
".env",
".env.*",
]
check-filenames = true