mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-03-11 17:49:25 -05:00
Fix physx test path and add pint dependency to pre-commit
- test_units.py: Use absolute path based on script location - .pre-commit-config.yaml: Add pint to additional_dependencies
This commit is contained in:
@@ -239,6 +239,7 @@ repos:
|
||||
name: "Book: PhysX unit checks"
|
||||
entry: python book/quarto/physx/test_units.py
|
||||
language: python
|
||||
additional_dependencies: [pint]
|
||||
pass_filenames: false
|
||||
files: ^book/quarto/contents/.*\.qmd$
|
||||
|
||||
|
||||
Reference in New Issue
Block a user