-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
84 lines (71 loc) · 2.37 KB
/
pyproject.toml
File metadata and controls
84 lines (71 loc) · 2.37 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
[build-system]
requires = ["uv_build>=0.10.9,<0.11.0"]
build-backend = "uv_build"
[project]
name = "multi-ai-cli"
version = "0.14.1"
description = "A command-line interface for multi-AI orchestration and structured prompt workflows"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"anthropic>=0.84.0",
"charset-normalizer>=3.4.5",
"gnureadline>=8.3.3",
"google-genai>=1.66.0",
"openai>=2.26.0",
"python-dotenv>=1.2.2",
"requests>=2.32.5",
"types-requests>=2.32.4.20260107",
]
[project.optional-dependencies]
gui = ["FreeSimpleGUI"]
[project.scripts]
multi-ai = "multi_ai_cli.main:main"
# uv run python -m multi_ai_gui.main
# multi-ai-gui = "multi_ai_gui.main:main"
[tool.uv.build-backend]
module-name = ["multi_ai_cli", "multi_ai_gui"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
addopts = "-q --import-mode=importlib"
[tool.ruff]
# Max line length (88 is the standard Black/Ruff line length for Python)
line-length = 88
target-version = "py313"
# Exclude specific directories or files from being linted/formatted
# exclude = ["tests/", "docs/", "build"]
[tool.ruff.lint]
# Specify the linting rules to enable
select = [
"E", # pycodestyle (Standard style errors)
"F", # Pyflakes (Logical errors: unused variables/imports)
"I", # isort (Automatic sorting of import statements)
"UP", # pyupgrade (Forces latest Python 3.13 syntax)
"D", # pydocstyle (Enforces documentation/Docstrings for every function)
"N", # pep8-naming (Ensures class/function names follow Python standards)
"ANN", # flake8-annotations (Forces Type Hints for all function arguments)
]
# Specify any rules you want to ignore (leave empty to enforce all selected)
ignore = [
"E501", # Line length
"D200", # One-line docstring
"D203", # One-line docstring summary before (conflicts with D211)
"D205", # 1 blank line required between summary and description
"D212", # Multi-line docstring summary (start at first line)
"D213", # Multi-line docstring summary (start at second line)
"D401", # First line should be in imperative mood
"ANN401",
]
[tool.ruff.lint.per-file-ignores]
"tests/**/*" = ["ANN", "D"]
[tool.ruff.lint.pydocstyle]
convention = "pep257"
[dependency-groups]
dev = [
"mypy>=1.19.1",
"pyinstaller>=6.19.0",
"pytest>=9.0.2",
"pytest-mock>=3.15.1",
"ruff>=0.15.5",
]