diff --git a/build-support/bin/_release_helper.py b/build-support/bin/_release_helper.py index 5393e23f57a..ae344e09eec 100644 --- a/build-support/bin/_release_helper.py +++ b/build-support/bin/_release_helper.py @@ -390,8 +390,8 @@ def validate_testutil_pkg(version: str, venv_bin_dir: Path, extra_pip_args: list PANTS_PKG = Package( "pantsbuild.pants", "src/python/pants:pants-packaged", - # TODO: See https://github.com/pypa/pypi-support/issues/1376. - 20000, + # Increased from the default limit of 20GB via https://github.com/pypa/pypi-support/issues/1376. + 40000, validate_pants_pkg, ) TESTUTIL_PKG = Package( diff --git a/build-support/githooks/pre-commit b/build-support/githooks/pre-commit index 98848e2b051..e3114b2784f 100755 --- a/build-support/githooks/pre-commit +++ b/build-support/githooks/pre-commit @@ -24,7 +24,7 @@ echo "* Typechecking" ./pants --changed-since="${MERGE_BASE}" --changed-dependees=transitive check echo "* Checking linters, formatters, and headers" -./pants --changed-since="${MERGE_BASE}" lint validate || +./pants --changed-since="${MERGE_BASE}" lint || die "If there were formatting errors, run \`./pants --changed-since=$(git rev-parse --symbolic "${MERGE_BASE}") fmt\`" if git diff "${MERGE_BASE}" --name-only | grep build-support/bin/generate_github_workflows.py > /dev/null; then