agritheory / test_utils

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

feat: validate copyright and add if it does not exist pre-commit config #22

Closed MyuddinKhatri closed 7 months ago

MyuddinKhatri commented 7 months ago

Validate copyright and add if it does not exist pre-commit config. Issue - https://github.com/agritheory/test_utils/issues/2

While adding a hook to pre-commit in other repos, pass the app name to entry in the hook. entry: python3 pre-commit/validate_copyright.py {app_name} replace app_name with actual app_name. eg. entry: python3 pre-commit/validate_copyright.py cloud_storage