
from megatron-lm16,208
Guidelines and commands for running autoformat.sh and configuring linting tools (black, isort, ruff, pylint, mypy) for Megatron-LM.
Documents the repository's linting and formatting practices and provides exact commands to run the formatter and set up the linting environment. It enumerates the tools used (black, isort, ruff, pylint, mypy), file-level import ordering instructions, and recommended pre-PR checks.
Use this skill when preparing changes for a PR, when pre-commit or CI linting fails, or when you need to enforce repo style (type hints, docstring conventions, line length). Trigger phrases: 'pre-commit fails', 'how do I format', 'autoformat.sh', 'ruff error', 'isort'.
Useful for agents that can run shell commands in a developer environment or advise on PR preparation (Code assistants, CI-integrated bots).
This skill has not been reviewed by our automated audit pipeline yet.