mirror of
https://github.com/linkedin/Liger-Kernel.git
synced 2026-10-12 02:17:47 +00:00
## Summary <!--- This is a required section; please describe the main purpose of this proposed code change. ---> ruff 0.16.0 changed formatting behavior for Python code fences embedded in Markdown files, causing 'ruff format --check --diff' to flag previously-formatted docs/skills markdown files as needing changes. Since dev/fmt-requirements.txt and setup.py pinned only a lower bound (ruff>=0.1.6 / ruff>=0.12.0), CI always installs the latest ruff, which broke the merge queue checkstyle job for unrelated PRs. Pin ruff to >=0.12.0,<0.16.0 in both setup.py and dev/fmt-requirements.txt to keep checkstyle stable until the repo is updated to support the new formatting behavior. <!--- ## Details This is an optional section; is there anything specific that reviewers should be aware of? ---> ## Testing Done <!--- This is a required section; please describe how this change was tested. ---> <!-- Replace BLANK with your device type. For example, A100-80G-PCIe Complete the following tasks before sending your PR, and replace `[ ]` with `[x]` to indicate you have done them. --> - Hardware Type: <BLANK> - [ ] run `make test` to ensure correctness - [ ] run `make checkstyle` to ensure code style - [ ] run `make test-convergence` to ensure convergence Co-authored-by: Copilot <[email protected]>