Skip to content

Commit

Permalink
Run pre-commit cmd post api_gen only for api directory
Browse files Browse the repository at this point in the history
  • Loading branch information
abheesht17 committed Jan 20, 2025
1 parent 5a0e0a5 commit 77fa473
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/api_gen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ echo "Generating api directory with public APIs..."
python3 "${base_dir}"/api_gen.py
# Format code because `api_gen.py` might order
# imports differently.
pre-commit run --all-files || true
pre-commit run --files $(find "${base_dir}"/keras_rs/api -type f) || true

0 comments on commit 77fa473

Please sign in to comment.