Skip to content

Conversation

@VaniHaripriya
Copy link

This PR adds the linting framework and import guard for Kubeflow Pipelines Components as specified in KEP-913.
Description:

  • Configured Black formatter and pydocstyle (Google-style docstrings) via pyproject.toml
  • Added markdownlint and yamllint for docs and YAML files
  • Implemented custom import guard to enforce stdlib-only top-level imports with exceptions via scripts/import_exceptions.json
  • Added Makefile targets for make lint and make format
  • Created GitHub Actions workflow to run all linters on PRs, scoped to changed files
  • Ensures dev/test dependencies are declared in dev-requirements.txt or test-requirements.txt
  • Workflow fails PR if any lint violations are detected

@google-oss-prow
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign james-jwu for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@VaniHaripriya VaniHaripriya force-pushed the add-lint-infra branch 2 times, most recently from 3573e29 to ff343dd Compare November 17, 2025 18:23
Signed-off-by: VaniHaripriya <vmudadla@redhat.com>
@HumairAK HumairAK removed the request for review from james-jwu November 24, 2025 15:20
@HumairAK HumairAK removed their request for review November 24, 2025 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants