Misc fixes (#944)

- Make sure torch + torchvision go together as deps, otherwise bad stuff
happens
- Add a pre-commit for requirements.txt
This commit is contained in:
Ashwin Bharambe 2025-02-03 14:08:47 -08:00 committed by GitHub
parent 0f14378135
commit f98efe68c9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 73 additions and 11 deletions

View file

@ -43,6 +43,12 @@ repos:
additional_dependencies:
- black==24.3.0
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.5.26
hooks:
- id: uv-export
args: ["--frozen", "--no-hashes", "--no-emit-project"]
# - repo: https://github.com/pre-commit/mirrors-mypy
# rev: v1.14.0
# hooks: