Check this out: https://github.com/astral-sh/ruff-pre-commit
You:
walk me through setting up pre-commit hooks. I'm using pycharm professional.
ChatGPT:
Setting up pre-commit hooks in PyCharm Professional is a great way to ensure your code meets certain standards before committing it to your version control system. Here’s a step-by-step guide to get you started: