Skip to content

Commit 5e81cab

Browse files
committed
Format with black
1 parent 530a41d commit 5e81cab

File tree

2 files changed

+20
-3
lines changed

2 files changed

+20
-3
lines changed

dist_cartogram.py

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -609,9 +609,18 @@ def state_ok_button(self):
609609

610610
self.dlg.button_box.button(QDialogButtonBox.Ok).setEnabled(result)
611611

612-
def startWorker(self, src_pts, img_pts, precision, max_extent, layers, total_features):
612+
def startWorker(
613+
self, src_pts, img_pts, precision, max_extent, layers, total_features
614+
):
613615
worker = DistCartogramWorker(
614-
src_pts, img_pts, precision, max_extent, layers, self.display, self.tr, total_features,
616+
src_pts,
617+
img_pts,
618+
precision,
619+
max_extent,
620+
layers,
621+
self.display,
622+
self.tr,
623+
total_features,
615624
)
616625
thread = QThread()
617626
worker.moveToThread(thread)

worker.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,15 @@ class DistCartogramWorker(QObject):
4545
status = pyqtSignal(str)
4646

4747
def __init__(
48-
self, src_pts, image_pts, precision, extent, layers_to_transform, to_display, tr, total_features,
48+
self,
49+
src_pts,
50+
image_pts,
51+
precision,
52+
extent,
53+
layers_to_transform,
54+
to_display,
55+
tr,
56+
total_features,
4957
):
5058
QObject.__init__(self)
5159

0 commit comments

Comments
 (0)