Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
hoxbro committed Nov 27, 2024
1 parent 7127eb2 commit 64ed526
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/verify_build_size.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

from pathlib import Path

PACKAGE = "panel"

EXPECTED_SIZES_MB = {
"conda": 25,
"npm": 25,
Expand All @@ -27,6 +25,7 @@ def main(build):

size = files[0].stat().st_size / 1024**2
assert size < EXPECTED_SIZES_MB[build], f"{build} file is too large: {size:.2f} MB"
print(f"{build} file size: {size:.2f} MB")


if __name__ == "__main__":
Expand Down

0 comments on commit 64ed526

Please sign in to comment.