-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
158 lines (143 loc) · 4.4 KB
/
pyproject.toml
File metadata and controls
158 lines (143 loc) · 4.4 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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
[project]
name = "aieng-platform-onboard"
version = "0.6.5"
description = "CLI tool for onboarding participants to AI Engineering bootcamps"
readme = "README.md"
authors = [{name = "Vector AI Engineering", email = "ai_engineering@vectorinstitute.ai"}]
license = "Apache-2.0"
requires-python = ">=3.12"
dependencies = [
"google-cloud-firestore>=2.18.0",
"google-cloud-storage",
"google-auth>=2.29.0",
"google-cloud-secret-manager>=2.20.0",
"firebase-admin>=6.5.0",
"openai>=1.0.0",
"weaviate-client>=4.0.0",
"requests>=2.33.0",
"python-dotenv>=1.0.0",
"rich>=13.0.0",
"pandas>=2.3.3",
"urllib3==2.7.0", # Pinning version to address vulnerabilities GHSA-gm62-xv2j-4w53 and GHSA-2xpw-w6gg-jr37
"filelock==3.20.3",
"authlib==1.6.12", # Pinning version to address vulnerabilities CVE-2026-28802, CVE-2026-27962, CVE-2026-28490
"pyjwt>=2.12.0", # Pinning version to address vulnerability CVE-2026-32597
"virtualenv==20.36.1",
"cryptography>=46.0.7", # Pinning version to address vulnerabilities CVE-2026-26007, CVE-2026-34073, CVE-2026-39892
"pygments>=2.20.0", # Pinning version to address vulnerability CVE-2026-4539
]
[project.scripts]
onboard = "aieng_platform_onboard.cli:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/aieng_platform_onboard"]
[tool.hatch.build.targets.sdist]
include = [
"/src/aieng_platform_onboard",
"/README.md",
"/pyproject.toml",
]
[dependency-groups]
dev = [
"codecov>=2.1.13",
"mypy>=1.14.1",
"nbqa>=1.9.1",
"pip>=26.1", # Pinning version to address vulnerabilities GHSA-4xh5-x5gv-qwph, CVE-2026-1703, and CVE-2026-3219
"pip-audit>=2.7.3",
"pre-commit>=4.1.0",
"pytest>=9.0.3", # Pinning version to address vulnerability CVE-2025-71176
"pytest-asyncio>=0.25.2",
"pytest-cov>=6.0.0",
"pytest-mock>=3.14.0",
"ruff>=0.9.2",
]
docs = [
"jinja2>=3.1.6", # Pinning version to address vulnerability GHSA-cpwx-vrp4-4pq7
"mkdocs>=1.6.0",
"mkdocs-material>=9.5.15",
"mkdocstrings>=0.24.1",
"mkdocstrings-python>=1.10.0",
"ipykernel>=6.29.5",
"ipython>=8.31.0",
]
# Default dependency groups to be installed
[tool.uv]
default-groups = ["dev"]
[tool.mypy]
mypy_path = "src"
follow_imports = "normal"
ignore_missing_imports = false
install_types = true
pretty = true
non_interactive = true
allow_untyped_defs = false
no_implicit_optional = true
check_untyped_defs = true
namespace_packages = true
explicit_package_bases = true
warn_unused_configs = true
allow_subclassing_any = false
allow_untyped_calls = false
allow_incomplete_defs = false
allow_untyped_decorators = false
warn_redundant_casts = true
warn_unused_ignores = true
implicit_reexport = false
strict_equality = true
extra_checks = true
[tool.ruff]
include = ["*.py", "pyproject.toml"]
exclude = []
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
"ERA001", # Found commented-out code
]
# Ignore import violations in all `__init__.py` files.
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["E402", "F401", "F403", "F811"]
# Ignoring undocumented public functions in scripts
"scripts/*" = ["D103"]
[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",
]