diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index d3cb180572..aafd26bea8 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -40,6 +40,7 @@ jobs:
if ! lintrunner -v --force-color --all-files --tee-json=lint.json; then
echo ""
echo -e "\e[1m\e[36mYou can reproduce these results locally by using \`lintrunner -m main\`.\e[0m"
+ cat lint.json
exit 1
fi
- name: Produce SARIF
diff --git a/tools/torchci/td/get_merge_base_info.py b/tools/torchci/td/get_merge_base_info.py
index bb2e46a7a2..d81baad009 100644
--- a/tools/torchci/td/get_merge_base_info.py
+++ b/tools/torchci/td/get_merge_base_info.py
@@ -103,9 +103,7 @@ def upload_merge_base_info(shas: List[str]) -> None:
main_branch_shas = list_past_year_shas()
print(f"There are {len(main_branch_shas)} shas, uploading in batches of {interval}")
for i in range(0, len(main_branch_shas), interval):
- shas = [
- x["head_sha"]
- for x in query_clickhouse(
+ shas = [x["head_sha"] for x in query_clickhouse(
NOT_IN_MERGE_BASES_TABLE,
{"shas": main_branch_shas[i : i + interval]},
)