googleapis / googleapis/python-aiplatform

LINT_PATHS in `noxfile.py` doesn't include `vertexai`

未关闭 适合新手
#3,187 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
api: vertex-ai
主要语言
Python
星标
905
派生
465
平均合并
1 天 13 小时
30 天内合并 PR
44

描述

It looks like the relatively new vertexai source folder is missing from `LINT_PATHS`. As a consequence it's not linted properly automatically and the codebase has now some lint errors. Suggestion is to update the `LINT_PATHS` variable and fix the formatting for `vertexai/language_models/_distillation.py` and `vertexai/vision_models/_vision_models.py`. This should be a trivial fix.

贡献指南

打开贡献指南

调研方向

检查 noxfile.py 中的 LINT_PATHS,然后查看 vertexai/language_models/_distillation.py 和 vertexai/vision_models/_vision_models.py 的格式。更新 lint 路径并格式化这两个指定文件;完成的标准是 vertexai 源代码已纳入自动 lint,并且已修复报告的 lint 错误。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
tooling
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
描述清楚
新手友好度
65/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。