From 15ba94fc8318fbfbde9e44208c8a09e0e45a5592 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Sun, 31 Aug 2025 22:11:59 -0500 Subject: [PATCH] fix: fix 'use-dict-literal' for pylint --- .pylintrc | 1 - src/wuttaweb/views/batch.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.pylintrc b/.pylintrc index c2db55d..d7466ee 100644 --- a/.pylintrc +++ b/.pylintrc @@ -41,4 +41,3 @@ disable=fixme, unspecified-encoding, unused-argument, use-a-generator, - use-dict-literal, diff --git a/src/wuttaweb/views/batch.py b/src/wuttaweb/views/batch.py index 77cc056..23441ab 100644 --- a/src/wuttaweb/views/batch.py +++ b/src/wuttaweb/views/batch.py @@ -274,7 +274,7 @@ class BatchMasterView(MasterView): thread = threading.Thread( target=self.populate_thread, args=(batch.uuid,), - kwargs=dict(progress=progress), + kwargs={"progress": progress}, ) # start thread and show progress page