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

Open Beginner friendly
#3,187 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
65/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
python
Domain
tooling

Research direction

Inspect LINT_PATHS in noxfile.py, then review the formatting in vertexai/language_models/_distillation.py and vertexai/vision_models/_vision_models.py. Update the lint path and format the two named files; done means the vertexai source is included in automatic linting and its reported lint errors are fixed.

Written by the indexing model from the issue text.

Description

api: vertex-ai

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.

Dominant language
Python
Stars
907
Forks
467
Avg merge
1d 13h
Merged PRs (30d)
44

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from googleapis/python-aiplatform

All issues in googleapis/python-aiplatform

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.