Mcore Linting And Formatting

Linting and formatting for Megatron-LM. Covers running autoformat.sh, tools (ruff, black, isort, pylint, mypy), and code style rules.

About this skill

Linting and formatting for Megatron-LM. Covers running autoformat.sh, tools (ruff, black, isort, pylint, mypy), and code style rules.

Maintained by NVIDIA. The source includes the instructions and any supporting files needed to use this skill.

Inside the instructions

  • 01Running the Formatter
  • 02Import Ordering
  • 03Setting Up the Linting Group
  • 04Code Style Rules

Before you start

  1. Read the instructions and check tool or account requirements.
  2. Install the complete folder when the skill references scripts or other files.
  3. Provide your task context, then review the agent's output.

Source

nvidia/skills / mcore-linting-and-formatting

Source reviewed October 2, 2026 · Apache-2.0 / CC-BY-4.0; see source notices