add assertion to make sure positions and positions_flat are not empty (#3387)

This commit is contained in:
Hoanh Le authored and GitHub committed 2024-08-28 12:37:54 -07:00
1 parent 69ae4abbfd
commit 22dae34eeb
2 files changed
+6 -1

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ repos:
- id: trailing-whitespace
- id: end-of-file-fixer
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.1.13
rev: v0.6.2
hooks:
- id: ruff
types_or: [ python, pyi, jupyter ]