jmoses / global-pre-commit-hooks

0 stars 0 forks source link

Repos with an existing pre-commit config have it get ignored #1

Closed jmoses closed 1 month ago

jmoses commented 8 months ago

Not a huge deal (set the local hook path back) but, irritating

jmoses commented 1 month ago

Added a check for existing pre-commit config (at the default location) that pretty much just panics

jmoses commented 1 month ago

Instead of panicking if there is a repo pre-commit config, we should instead maybe warn if there's no associated repo-local hook. Since one of the checks is to "do the repo local hook if present" then....I think that "nested" pre-commit configs would just work?