The --show-source flag can be used to show source information alongside violations during ruff check. This should be the default behavior.
--no-show-source can be used to return to the previous output. In the future, this option will be removed; see #7350.