Skip to content

Commit

Permalink
Exclude vendor, .min.js, .svg, and static/*.js from pre-commit
Browse files Browse the repository at this point in the history
Those files are copied from other sources or edited by other tools
and IMHO not subject for pre-commit handling.

Refs:
- readthedocs/readthedocs.org#11200
- readthedocs/readthedocs.org#11199
  • Loading branch information
yarikoptic committed Mar 8, 2024
1 parent 4af0fff commit 88c6c50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
exclude: '^$|settings|scripts'
exclude: '^$|settings|scripts|vendor|\.(min\.js|svg)$|static/.*\.js$'
fail_fast: false
repos:

Expand Down

0 comments on commit 88c6c50

Please sign in to comment.