Brettapps commited on
Commit
f025554
·
verified ·
1 Parent(s): f3fadf4

Upload .gemini/extensions/vertex/pyproject.toml with huggingface_hub

Browse files
.gemini/extensions/vertex/pyproject.toml ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [project]
2
+ name = "vertex"
3
+ version = "0.2.0"
4
+ requires-python = ">=3.10"
5
+ dependencies = [
6
+ "google-cloud-aiplatform>=1.138.0",
7
+ "google-generativeai",
8
+ "pydantic",
9
+ "absl-py",
10
+ "mcp[cli]>=1.21.2",
11
+ "google-cloud-storage",
12
+ "pandas",
13
+ "matplotlib",
14
+ ]
15
+
16
+ [build-system]
17
+ requires = ["setuptools>=61.0"]
18
+ build-backend = "setuptools.build_meta"
19
+
20
+ [project.optional-dependencies]
21
+ dev = ["ruff~=0.5.5", "pyright", "pytest", "ipython", "pre-commit"]
22
+
23
+ [tool.ruff]
24
+ line-length = 80
25
+
26
+ [tool.ruff.lint]
27
+ select = [
28
+ "E", # pycodestyle errors
29
+ "F", # pyflakes
30
+ "W", # pycodestyle warnings
31
+ "I", # isort
32
+ "UP", # pyupgrade
33
+ "D", # pydocstyle
34
+ "N", # pep8-naming
35
+ "PL", # Pylint
36
+ ]
37
+ ignore = [
38
+ "D100", # Missing docstring in public module (module docstrings for tests are not required, and for others, can be added as needed)
39
+ "D101", # Missing docstring in public class (class docstrings are important, but for very simple classes, it might be deferred)
40
+ "D102", # Missing docstring in public method (methods with obvious purpose or trivial implementation might not need a docstring)
41
+ "D103", # Missing docstring in public function (functions with obvious purpose or trivial implementation might not need a docstring)
42
+ "D104", # Missing docstring in public package (similar to module docstrings)
43
+ "D105", # Missing docstring in magic method (magic methods like __init__ often have self-explanatory purposes)
44
+ "D107", # Missing docstring in public __init__ (explicitly for __init__, often self-explanatory)
45
+ "PLR0913", # Too many arguments in function definition (common for CLI tools)
46
+ "E501", # Line too long (auto-formatter not fixing for specific docstrings, and style guide allows exceptions)
47
+ ]
48
+
49
+ [tool.ruff.lint.pydocstyle]
50
+ convention = "google"
51
+
52
+ [tool.setuptools.packages.find]
53
+ where = ["src"]