🎨 Add pyupgrade

This commit is contained in:
Gina Häußge committed 2021-03-11 14:34:06 +01:00
1 parent cf2ce1e88b
commit f9745515e1
33 files changed
+104 -172

No files matched your search

@@ -705,7 +705,7 @@ class VirtualPrinter(object):
def _gcode_M114(self, data):
# type: (str) -> bool
m114FormatString = self._settings.get(["m114FormatString"])
e = dict((index, value) for index, value in enumerate(self._lastE))
e = {index: value for index, value in enumerate(self._lastE)}
e["current"] = self._lastE[self.currentExtruder]
e["all"] = " ".join(
[