forked from GoogleCloudPlatform/vertex-ai-creative-studio
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
62 lines (57 loc) · 1.8 KB
/
pyproject.toml
File metadata and controls
62 lines (57 loc) · 1.8 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
[project]
name = "vertex-ai-genmedia-creative-studio"
version = "1.4.0"
description = "GenMedia Creative Studio - Veo, Lyria, Nano Banana, Imagen, Gemini, Gemini TTS"
readme = "README.md"
requires-python = ">=3.13, <3.14"
dependencies = [
"fastapi>=0.115.12",
"firebase-admin>=6.6.0",
"google-cloud-aiplatform>=1.79.0",
"google-genai>=0.8.0",
"gunicorn>=23.0.0",
"mediapy>=1.2.2",
"mesop>=0.14.1",
"numpy>=2.2.2",
"pandas>=2.2.3",
"shortuuid>=1.0.13",
"tenacity>=9.0.0",
"uvicorn>=0.34.2",
"ruff>=0.1.0", # Using a general version, can be pinned
"black>=25.1.0",
"pytest>=8.4.1",
"google-cloud-texttospeech>=2.27.0",
"google-cloud-logging>=3.12.1",
"moviepy>=2.0.0",
"scipy",
"scikit-image",
"opencv-python",
"librosa>=0.11.0",
"praat-parselmouth>=0.4.6",
"c2pa-python>=0.27.1",
"pillow>=11.3.0",
]
[[tool.uv.index]]
name = "pypi"
url = "https://pypi.org/simple"
default = true
[tool.ruff]
# Python version (optional, defaults to auto-detect)
# target-version = "py310"
[tool.ruff.lint]
# Enable Pyflakes ("F") and Pycodestyle ("E", "W") categories by default.
# select = ["E", "F", "W", "I"] # I for isort
# Can be more specific or add more rules later
# For example, to emulate Flake8:
select = ["E", "F", "W", "C90", "I", "N", "D", "UP", "ANN", "S", "BLE", "A", "COM", "LOG", "PT", "Q", "RET", "SIM", "TID", "ARG", "PTH", "ERA", "PD", "PGH", "PIE", "PL", "TRY", "FLY", "NPY", "PERF", "RUF"]
ignore = ["E501"] # Ignore line too long for now, can be addressed later
[tool.ruff.format]
# Use black-compatible formatting
quote-style = "double"
indent-style = "space"
#skip-string-normalization = false
line-ending = "auto"
[tool.pytest.ini_options]
markers = [
"integration: marks tests as integration tests (slow, requires network)",
]