asyml / forte

Forte is a flexible and powerful ML workflow builder. This is part of the CASL project: http://casl-project.ai/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pre-commit hook should check files under `forte` only

hepengfe opened this issue · comments

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:

  1. Prepare data ...
  2. Run command '....'
  3. 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.