common
common copied to clipboard
Exclude migrations, vendor, .min.js, .svg, and static/*.js from pre-commit
Those files are copied from other sources or edited by other tools and IMHO not subject for pre-commit handling.
Refs:
- https://github.com/readthedocs/readthedocs.org/issues/11200
- https://github.com/readthedocs/readthedocs.org/pull/11199
per comment elsewhere, I have now changed to exclude migrations only from black, isort and the "pre-commit-hooks" tune ups