From ed5699b50df5d753c767b5b3355b0def238ade4f Mon Sep 17 00:00:00 2001
From: Reid 'arrdem' McKenzie <me@arrdem.com>
Date: Tue, 30 May 2023 22:22:13 -0600
Subject: [PATCH 1/2] Enable selective formatting

---
 tools/fmt.sh | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/tools/fmt.sh b/tools/fmt.sh
index 49b8592..ad7774d 100755
--- a/tools/fmt.sh
+++ b/tools/fmt.sh
@@ -2,9 +2,7 @@
 set -euox pipefail
 cd "$(git rev-parse --show-toplevel)"
 
-bazel build //tools/... //projects/reqman
-
-DIRS=(projects tools)
+DIRS=("${@:-projects tools}")
 
 function brl() {
     bin="$1"
@@ -20,4 +18,4 @@ for d in "${DIRS[@]}"; do
     brl tools/unify --quote '"' -ir $(realpath "$d")
 done
 
-brl projects/reqman clean tools/python/requirements.txt
+# brl projects/reqman clean tools/python/requirements.txt

From 90e2c1a888880ae8895ccaccd4066253354635ff Mon Sep 17 00:00:00 2001
From: Reid 'arrdem' McKenzie <me@arrdem.com>
Date: Tue, 30 May 2023 22:22:30 -0600
Subject: [PATCH 2/2] Fmt.

---
 projects/tentacles/src/python/tentacles/workers.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/projects/tentacles/src/python/tentacles/workers.py b/projects/tentacles/src/python/tentacles/workers.py
index 94cfb82..259c89b 100644
--- a/projects/tentacles/src/python/tentacles/workers.py
+++ b/projects/tentacles/src/python/tentacles/workers.py
@@ -16,6 +16,8 @@ from time import sleep
 from typing import Callable
 from urllib import parse as urlparse
 
+from fastmail import FastMailSMTP
+from flask import Flask as App, render_template
 from octorest import OctoRest as _OR
 from requests import Response
 from requests.exceptions import (
@@ -23,10 +25,7 @@ from requests.exceptions import (
     HTTPError,
     Timeout,
 )
-from flask import Flask as App, current_app, render_template
-
 from tentacles.store import Store
-from fastmail import FastMailSMTP
 
 
 class OctoRest(_OR):