mockery icon indicating copy to clipboard operation
mockery copied to clipboard

feat: add pre-commit hook support

Open ccoVeille opened this issue 7 months ago • 5 comments

Description

Add pre-commit.com support in mockery.

  • Fixes #791

Type of change

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [X] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • [X] This change requires a documentation update

Version of Go used when building/testing:

  • [ ] 1.11
  • [ ] 1.12
  • [ ] 1.13
  • [ ] 1.14
  • [ ] 1.15
  • [ ] 1.16
  • [ ] 1.17
  • [ ] 1.18
  • [ ] 1.19
  • [ ] 1.20
  • [X] Not relevant

How Has This Been Tested?

Locally, by following the guide I provide in installation.md file

Checklist

  • [X] My code follows the style guidelines of this project
  • [X] I have performed a self-review of my code
  • [ ] I have commented my code, particularly in hard-to-understand areas
  • [X] I have made corresponding changes to the documentation
  • [ ] My changes generate no new warnings
  • [ ] I have added tests that prove my fix is effective or that my feature works
  • [ ] New and existing unit tests pass locally with my changes

ccoVeille avatar Jul 17 '24 10:07 ccoVeille