From 9082a7ec695d0ec55e2c91a8aa3ba961c0ed7036 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Thu, 17 Feb 2022 16:04:13 -0300 Subject: [PATCH] Fixed C413 Unnecessary list call around sorted(). --- kibot/out_report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kibot/out_report.py b/kibot/out_report.py index ffd753bb..6bed092a 100644 --- a/kibot/out_report.py +++ b/kibot/out_report.py @@ -391,7 +391,7 @@ class ReportOptions(BaseOptions): oar_t = min(oar_x, oar_y) if oar_t: self.oar_pads = min(self.oar_pads, oar_t) - self._vias_m = list(sorted(self._vias.keys())) + self._vias_m = sorted(self._vias.keys()) # Via Pad size self.via_pad_d = ds.m_ViasMinSize self.via_pad = self._vias_m[0][1]