readthedocs / common

Shared bits around multiple repositories
MIT License
22 stars 38 forks source link

Exclude migrations, vendor, .min.js, .svg, and static/*.js from pre-commit #211

Closed yarikoptic closed 1 week ago

yarikoptic commented 7 months ago

Those files are copied from other sources or edited by other tools and IMHO not subject for pre-commit handling.

Refs:

yarikoptic commented 7 months ago

per comment elsewhere, I have now changed to exclude migrations only from black, isort and the "pre-commit-hooks" tune ups