cookie
cookie copied to clipboard
Black not configured in pre-commit to find src files?
I'm playing around with pre-commit and black together, and looked through scikit-hep/cookie for inspiration (with the now-recommended hatch backend), but when pre-commit runs, black doesn't check any files. I've gone through black's docs and looked at other projects a bit and can't seem to see how black is figuring out the files / directory to search. Is it possible that the the generated pyproject.toml in this instance doesn't pass black enough information? Otherwise is there something else I've missed?
Sheepishly closing this - it was a hasty issue creation. The commits I was experimenting with had no modified code for black to check. Apologies for the noise!