update tapioca, more type annotations

This commit is contained in:
Dylan Knutson
2025-07-16 16:24:35 +00:00
parent fda95fb33f
commit 19d96dfebe
37 changed files with 107366 additions and 6123 deletions

View File

@@ -82,7 +82,7 @@ pre-commit:
for file in {staged_files}; do
if [ -f "$file" ]; then
size=$(stat -c%s "$file" 2>/dev/null || stat -f%z "$file" 2>/dev/null)
if [ "$size" -gt 1048576 ]; then
if [ "$size" -gt 2097152 ]; then
echo "File $file is larger than 1MB"
exit 1
fi