You are viewing a plain text version of this content. The canonical link for it is here.
Posted to discuss-archive@tvm.apache.org by GitBox <gi...@apache.org> on 2026/02/22 13:35:11 UTC

[GH] (tvm/migrate-precommit): Workflow run "CI" is working again!

The GitHub Actions job "CI" on tvm.git/migrate-precommit has succeeded.
Run started by GitHub user tqchen (triggered by tqchen).

Head commit for run:
5c5a30d15d1d8ee45d90ceb03c11d0b5ba05e92b / tqchen <ti...@gmail.com>
[Lint] Migrate pre-commit hooks from tvm-ffi to tvm

Modernize TVM's lint infrastructure by adopting tvm-ffi's comprehensive
pre-commit configuration. This replaces legacy shell-script-based linting
with standard pre-commit hooks for Python (ruff), C++ (clang-format),
YAML, TOML, Markdown, shell scripts, and more.

Key changes:
- Rewrite .pre-commit-config.yaml with 20+ hooks
- Update pyproject.toml: ruff replaces black/isort/pylint/flake8
- Simplify tests/scripts/task_lint.sh to use pre-commit
- Make replaced legacy lint scripts into no-op stubs
- Add .yamllint.yaml, .markdownlint-cli2.yaml configs
- Add isort: skip_file to __init__.py files with order-dependent imports

Report URL: https://github.com/apache/tvm/actions/runs/22277069775

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org
For additional commands, e-mail: discuss-archive-help@tvm.apache.org