From c13e829e145daf96ea2be9b4d35fc2a94a1b33bd Mon Sep 17 00:00:00 2001
From: Ben Sima <ben@bsima.me>
Date: Tue, 22 Aug 2023 11:46:08 -0400
Subject: Replace pylint with ruff

Ruff is like a million times faster, and I mostly ignored pylint's suggestions
anyway.

I also took this opportunity to move lint tools into a runtime dependency on
Lint.hs, which meant adding a wrapper to the Haskell builder, which was easy
enough. This paves the way for proper rundeps in bild.
---
 Biz/Que/Client.py | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

(limited to 'Biz/Que')

diff --git a/Biz/Que/Client.py b/Biz/Que/Client.py
index 90e560f..ef6d6d2 100755
--- a/Biz/Que/Client.py
+++ b/Biz/Que/Client.py
@@ -102,10 +102,8 @@ def send(args: argparse.Namespace) -> None:
     if args.serve:
         logging.debug("serve")
         while not time.sleep(1):
-            # pylint: disable=consider-using-with
             request.urlopen(req, data=data, timeout=MAX_TIMEOUT)
     else:
-        # pylint: disable=consider-using-with
         request.urlopen(req, data=data, timeout=MAX_TIMEOUT)
 
 
@@ -198,7 +196,12 @@ def get_args() -> argparse.Namespace:
         "infile",
         nargs="?",
         type=argparse.FileType("rb"),
-        help="data to put on the que. use '-' for stdin, otherwise should be a readable file",
+        help=" ".join(
+            [
+                "data to put on the que.",
+                "use '-' for stdin, otherwise should be a readable file",
+            ]
+        ),
     )
     return cli.parse_args()
 
-- 
cgit v1.2.3