chore(pre-commit): use ruff installed by pdm
Adjust the pre-commit hooks so that they use Ruff installed by Pdm.
It solves the problem when changes made by a user's pdm format
do not match those done by the pre-commit formatter.
Adjust the pre-commit hooks so that they use Ruff installed by Pdm.
It solves the problem when changes made by a user's pdm format
do not match those done by the pre-commit formatter.