Lightlines
By nvidia

mcore-linting-and-formatting

nvidia1.8k installs

Keep your code style ready for review.

What it does

Apply formatting checks and Python style conventions to Megatron-LM code before pull requests.

When to use it

Use when running linting or autoformatting, fixing style violations before a pull request, or addressing failed pre-commit checks.

How to use it

It changes how the agent formats and checks project code before committing or opening a pull request.

What you provide

  • An existing project

Latest review

What you need · 6

Uses uv to run isort after import edits and to install the linting dependency group.

The formatter invokes black; the documented linting-group setup installs it.


Access · 4

This skill

ruff

Execute

Installs ruff for linting

black

Execute

Installs black for formatting