agritheory / test_utils

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

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

Closed MyuddinKhatri closed 2 months ago

MyuddinKhatri commented 2 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