Skip to content

Changes for supporting lint in MLC #161

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 15, 2025
Merged

Conversation

anandhu-eng
Copy link
Contributor

@anandhu-eng anandhu-eng commented Jul 15, 2025

Usage:

mlc lint script --tags=<tags>

sample output:

anandhus@Anandhus-MacBook-Air anandhu-eng@mlcflow % python3 -m mlc.main lint script --tags=download-and-extract
[<mlc.item.Item object at 0x103ad5010>]
Sorted YAML keys in /Users/anandhus/MLC/repos/anandhu-eng@mlperf-automations/script/download-and-extract/meta.yaml
[2025-07-15 12:36:27,135 lint.py:65 INFO] - Sorted YAML keys for download-and-extract
anandhus@Anandhus-MacBook-Air anandhu-eng@mlcflow % python3 -m mlc.main lint script --tags=detect,os           
[<mlc.item.Item object at 0x103070ec0>]
[2025-07-15 12:37:37,351 lint.py:68 INFO] - No YAML keys to be sorted for detect-os

ref: #160

@anandhu-eng anandhu-eng requested a review from a team as a code owner July 15, 2025 07:21
Copy link

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅

@arjunsuresh arjunsuresh merged commit b0f7449 into mlcommons:dev Jul 15, 2025
35 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jul 15, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants