From 3d0106450c7c8d26429c2e92634135d63d3355a5 Mon Sep 17 00:00:00 2001 From: Andrew Halberstadt Date: Tue, 7 Oct 2025 14:10:34 -0400 Subject: [PATCH] style: exclude robustcheckout.py and revert changes This is third party code that gets pulled in periodically. Let's keep excluding it and revert the recent style fix. --- .pre-commit-config.yaml | 1 + src/taskgraph/run-task/robustcheckout.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c283ab007..16ae0d674 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -43,5 +43,6 @@ repos: stages: [commit-msg] exclude: | (?x)^( + src/taskgraph/run-task/robustcheckout.py | taskcluster/scripts/external_tools ) diff --git a/src/taskgraph/run-task/robustcheckout.py b/src/taskgraph/run-task/robustcheckout.py index 68cece7e3..153ca0d73 100644 --- a/src/taskgraph/run-task/robustcheckout.py +++ b/src/taskgraph/run-task/robustcheckout.py @@ -453,7 +453,7 @@ def handlenetworkfailure(): ) # Do a backoff on retries to mitigate the thundering herd - # problem. This is an exponential backoff with a multiplier + # problem. This is an exponential backoff with a multipler # plus random jitter thrown in for good measure. # With the default settings, backoffs will be: # 1) 2.5 - 6.5