-
Notifications
You must be signed in to change notification settings - Fork 104
Expand file tree
/
Copy pathpyproject.toml
More file actions
140 lines (124 loc) · 3.83 KB
/
pyproject.toml
File metadata and controls
140 lines (124 loc) · 3.83 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
[project]
name = "agent-bootcamp"
version = "0.1.1"
description = "Vector Institute Agent Bootcamp"
readme = "README.md"
authors = [ {name = "Vector AI Engineering", email = "ai_engineering@vectorinstitute.ai"}]
license = "MIT"
requires-python = ">=3.12"
dependencies = [
"aieng-agents>=0.1.1",
"numpy<2.5.0",
"plotly>=6.2.0",
"scikit-learn>=1.7.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["implementations"]
[dependency-groups]
dev = [
"aieng-platform-onboard>=0.3.6",
"codecov>=2.1.13",
"ipykernel>=6.29.5",
"ipython>=9.4.0",
"ipywidgets>=8.1.7",
"jupyter>=1.1.1",
"jupyterlab>=4.4.8",
"nbqa>=1.9.1",
"pip-audit>=2.7.3",
"pre-commit>=4.6.0",
"pytest>=9.0.3", # Pinning version to address vulnerability GHSA-6w46-j5rx-g56g
"pytest-asyncio>=1.2.0",
"pytest-cov>=7.0.0",
"pytest-mock>=3.14.0",
"ruff>=0.15.11",
]
docs = [
"jinja2>=3.1.6", # Pinning version to address vulnerability GHSA-cpwx-vrp4-4pq7
"pygments>=2.20.0", # GHSA-5239-wwwm-4pmq
"mkdocs>=1.6.0",
"mkdocs-material>=9.6.15",
"mkdocstrings>=0.24.1",
"mkdocstrings-python>=2.0.3",
"ipykernel>=6.29.5",
"ipython>=9.4.0",
]
# Default dependency groups to be installed
[tool.uv]
default-groups = ["dev", "docs"]
constraint-dependencies = [
"aiohttp>=3.13.5", # GHSA-p998-jp59-783m, GHSA-hcc4-c3v8-rx92, GHSA-m5qp-6w8w-w647, GHSA-3wq7-rqq7-wx6j, GHSA-mwh4-6h8g-pg8w, GHSA-966j-vmvw-g2g9, GHSA-63hf-3vf5-4wqf, GHSA-c427-h43c-vf67, GHSA-w2fm-2cpv-w7v5, GHSA-2vrm-gr82-f7m5
"authlib>=1.6.11", # GHSA-xm59-rqc7-hhvf GHSA-7gcm-g887-7qv7
"cryptography>=46.0.7", # GHSA-m959-cc7f-wv43, GHSA-p423-j2cm-9vmq
"pyasn1>=0.6.3", # GHSA-jr27-m4p2-rc6r
"pygments>=2.20.0", # GHSA-5239-wwwm-4pmq
"python-multipart>=0.0.26", # GHSA-mj87-hwqh-73pj
"requests>=2.33.0", # GHSA-gc5v-m9x4-r6x2
]
[tool.uv.workspace]
members = [
"aieng-agents",
]
[tool.uv.sources]
aieng-agents = { workspace = true }
[tool.ruff]
include = ["*.py", "pyproject.toml", "*.ipynb"]
line-length = 88
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
docstring-code-format = true
[tool.ruff.lint]
select = [
"A", # flake8-builtins
"B", # flake8-bugbear
"COM", # flake8-commas
"C4", # flake8-comprehensions
"RET", # flake8-return
"SIM", # flake8-simplify
"ICN", # flake8-import-conventions
"Q", # flake8-quotes
"RSE", # flake8-raise
"D", # pydocstyle
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"W", # pycodestyle
"N", # pep8-naming
"ERA", # eradicate
"PL", # pylint
]
fixable = ["A", "B", "COM", "C4", "RET", "SIM", "ICN", "Q", "RSE", "D", "E", "F", "I", "W", "N", "ERA", "PL"]
ignore = [
"B905", # `zip()` without an explicit `strict=` parameter
"E501", # line too long
"D203", # 1 blank line required before class docstring
"D213", # Multi-line docstring summary should start at the second line
"PLR2004", # Replace magic number with named constant
"PLR0913", # Too many arguments
"COM812", # Missing trailing comma
"N999", # Number in module names.
"ERA001", # Commented out lines.
]
# Ignore import violations in all `__init__.py` files.
# Ignore missing docstring in `__init__.py` files
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["E402", "F401", "F403", "F811", "D104"]
[tool.ruff.lint.pep8-naming]
ignore-names = ["X*", "setUp"]
[tool.ruff.lint.isort]
lines-after-imports = 2
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ruff.lint.pycodestyle]
max-doc-length = 88
[tool.pytest.ini_options]
markers = [
"integration_test: marks tests as integration tests",
]
[tool.coverage]
[tool.coverage.run]
source=["aieng-agents/aieng"]
omit=["aieng-agents/aieng/tests/*", "tests/*", "*__init__.py"]