scivision / linkchecker-markdown

Python asyncio + aiohttp Markdown *.md URL link checker: 10,000 files/second
MIT License
32 stars 18 forks source link

Add Pre-Commit Config Yaml #20

Open Skylion007 opened 3 years ago

Skylion007 commented 3 years ago

Request to add a .pre-commit-hooks.yaml file to allow it to be used with the pre-commit python git hook management framework: https://github.com/pre-commit/pre-commit/

shivan-s commented 2 years ago

I'd love this feature. I've added it in as a local hook.

  - repo: local
    hooks:
    - id: linkchecker-markdown
      name: linkchecker-markdown
      entry: linkchecker-markdown
      language: system
      types: [python]

But the problem I've had is that it doesn't check the files. So will need to do more investigation.