agritheory / test_utils

Common Test Utilities and Fixtures for AgriTheory Projects
2 stars 3 forks source link

feat: update validate_copyright to work as pre-commit hook #41

Closed MyuddinKhatri closed 1 month ago

MyuddinKhatri commented 1 month ago

Issue - https://github.com/agritheory/test_utils/issues/40 Update validate_copyright to work as pre-commit hook To use this as pre-commit hook -

  - repo: https://github.com/agritheory/test_utils/
    rev: {rev}
    hooks:
      - id: validate_copyright
        files: '\.(js|ts|py|md)$'
        args: ["--app", "cloud_storage"]
Alchez commented 1 month ago

@MyuddinKhatri The snippet you've shared in the description should go into this repo's readme file ideally

MyuddinKhatri commented 1 month ago

@MyuddinKhatri The snippet you've shared in the description should go into this repo's readme file ideally

@Alchez @agritheory I added the docs please check.