-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
53 lines (47 loc) · 1.84 KB
/
pyproject.toml
File metadata and controls
53 lines (47 loc) · 1.84 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
[project]
name = "vertex"
version = "0.2.0"
requires-python = ">=3.10"
dependencies = [
"google-cloud-aiplatform>=1.138.0",
"google-generativeai",
"pydantic",
"absl-py",
"mcp[cli]>=1.21.2",
"google-cloud-storage",
"pandas",
"matplotlib",
]
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project.optional-dependencies]
dev = ["ruff~=0.5.5", "pyright", "pytest", "ipython", "pre-commit"]
[tool.ruff]
line-length = 80
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"W", # pycodestyle warnings
"I", # isort
"UP", # pyupgrade
"D", # pydocstyle
"N", # pep8-naming
"PL", # Pylint
]
ignore = [
"D100", # Missing docstring in public module (module docstrings for tests are not required, and for others, can be added as needed)
"D101", # Missing docstring in public class (class docstrings are important, but for very simple classes, it might be deferred)
"D102", # Missing docstring in public method (methods with obvious purpose or trivial implementation might not need a docstring)
"D103", # Missing docstring in public function (functions with obvious purpose or trivial implementation might not need a docstring)
"D104", # Missing docstring in public package (similar to module docstrings)
"D105", # Missing docstring in magic method (magic methods like __init__ often have self-explanatory purposes)
"D107", # Missing docstring in public __init__ (explicitly for __init__, often self-explanatory)
"PLR0913", # Too many arguments in function definition (common for CLI tools)
"E501", # Line too long (auto-formatter not fixing for specific docstrings, and style guide allows exceptions)
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.setuptools.packages.find]
where = ["src"]