Relative Content

Tag Archive for pre-commit.com

Can I make VSCode recognize the code formatting enforced by Pre-commit?

The title says it all. I noticed that some code formatting results run by pre-commit conflict with the code formatting guidelines of a code editor (e.g., VSCode). I think there is no single silver bullet for this issue, but would there be any recommended way to resolve this? — maybe for each language or for each formatter.

pre-commit additional_dependencies in a local repository

I’m trying to introduce pre-commit to our project. The project lives in a monorepo, and we would like to have all our checks to live in that same repo as well. We have a flake8 plugin, and I’m trying to configure the flake8 to use that plugin, however I cannot figure out how to have pre-commit to install our plugin from the local repo.