1. Change the version in .pre-commit-config.yaml.
  2. Run pre-commit autoupdate
  3. Next time you commit, the package will upgrade.