Skip to content
Advertisement

Tag: pre-commit-hook

Pre-commit hook throws error on hatchling requirement

I’m following the pre-commit directions to install git pre-commit hooks for python code formatting from black to my flask repo. I’ve added pre-commit to my requirements.txt and my pre-commit-config.yaml file looks like After installing pre-commit using pip install pre-commit and installing the git hook scripts using pre-commit install, I get this error message related to a hatchling dependency package when

Advertisement