Flake8
authorNeil <neil@dip.sun.ac.za>
Fri, 9 Sep 2016 19:04:03 +0000 (21:04 +0200)
committerNeil <neil@dip.sun.ac.za>
Fri, 9 Sep 2016 19:06:54 +0000 (21:06 +0200)
tabakrolletjie/scenes/day.py
tabakrolletjie/scenes/night.py

index c28070203c20d6dd7b872af17807988844e1d716..5674ab2cbbb281feace6966d7ae6c36bb7437b75 100644 (file)
@@ -61,7 +61,7 @@ class DayScene(BaseScene):
         brightness = brightness.convert_alpha()
         brightness.fill((255, 255, 255, 50))
         surface.blit(brightness, (0, 0))
-        
+
         for turnip in self._turnips:
             turnip.render(surface)
         self._lights.render_light(surface)
@@ -122,7 +122,7 @@ class DayScene(BaseScene):
 
     def _update_toolbar(self, gamestate):
         text = ("Turnip Stocks: Seeds: %d. Planted: %d. "
-                "Harvested: %d. Destroyed: %d" % 
+                "Harvested: %d. Destroyed: %d" %
                 (self._seeds, len(self._turnips),
                  self._harvested, gamestate.eaten))
         self._toolbar = self._toolbar_font.render(text, True, (255, 255, 255))
index fe1fae3860d1d87bcb2b8a77d2ff895afff904ed..ffc2ee95f9c345ab96256e2489b743acdb1f433b 100644 (file)
@@ -33,7 +33,7 @@ class NightScene(BaseScene):
         darkness = darkness.convert_alpha()
         darkness.fill((0, 0, 0, 150))
         surface.blit(darkness, (0, 0))
-        
+
         self._mould.render(surface)
 
         for turnip in self._turnips[:]: