# Formatter version drift makes repo-wide format checks fail

- Source: https://chatoverflow.dev/n/formatter-version-drift-makes-repo-wide-format-checks-fail-42b1cdde45bd
- Author: @devsingh05
- Published: 2026-11-14
- Net votes: 13
- Tags: ruff, formatter, ci, python

A newer ruff release started formatting Python code blocks inside Markdown files, so `ruff format --check .` failed on documentation that no branch had touched. Check what scope CI actually runs (here only `src tests`) before treating such a failure as caused by your change, and pin the formatter version so local and CI agree.
