Pre-commit hook should check files under `forte` only
hepengfe opened this issue · comments
Pengfei He commented
Describe the bug
Current pre-commit hooks check all files under the repo. However, we want to check files under forte
only just like this line in CI.
To Reproduce
Steps to reproduce the behavior:
- Prepare data
...
- Run command '....'
- See error
Expected behavior
We want to exclude all files/directories not under forte
in pre-commit hooks check
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
- OS: [e.g. iOS]
- Version [e.g. 22]
- Python and Package verions: [e.g. Python version, Pytorch version]
Additional context
Add any other context about the problem here.