You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the great effort on this project, it's been helpful!
This is a feature request to add a pre-commit hook configuration for linkchecker. Pre-commit provides the capability for custom hooks which may be used by others. Often, projects which provide the capability to perform checks will have a .pre-commit-hooks.yaml file. This provides a certain level of trust and development alignment (see Black's .pre-commit-hooks.yaml as an example).
Steps to develop and use
I think a .pre-commit-hooks.yaml file could be added with something like the following to enable this functionality:
- id: linkcheckername: linkcheckerdescription: "Check for broken links in web sites."entry: linkcheckerlanguage: python# additional defaults?
Usage outside of this for others would entail configuring their .pre-commit-config.yaml with something like:
Summary
Thanks for the great effort on this project, it's been helpful!
This is a feature request to add a pre-commit hook configuration for
linkchecker
. Pre-commit provides the capability for custom hooks which may be used by others. Often, projects which provide the capability to perform checks will have a.pre-commit-hooks.yaml
file. This provides a certain level of trust and development alignment (see Black's.pre-commit-hooks.yaml
as an example).Steps to develop and use
I think a
.pre-commit-hooks.yaml
file could be added with something like the following to enable this functionality:Usage outside of this for others would entail configuring their
.pre-commit-config.yaml
with something like:The text was updated successfully, but these errors were encountered: