Skip to content

Commit

Permalink
Fixed Pep8 violations (fix travis build 3676 moans)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zen-CODE committed Feb 20, 2018
1 parent a3251fd commit cd592c1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion kivy/tests/test_window_info.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from kivy.tests.common import GraphicUnitTest
from kivy import setupconfig


class WindowInfoTest(GraphicUnitTest):
def test_window_info_nonzero(self):
from kivy.core.window import Window
Expand All @@ -26,4 +27,3 @@ def test_window_info_nonzero(self):
if isinstance(window_info, WindowInfoWindows):
self.assertNotEqual(window_info.HWND, 0)
self.assertNotEqual(window_info.HDC, 0)

2 changes: 1 addition & 1 deletion kivy/uix/modalview.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def open(self, *largs, **kwargs):
a.bind(on_complete=lambda *x: self.dispatch('on_open'))
a.start(self)
else:
self._anim_alpha=1.
self._anim_alpha = 1.
self.dispatch('on_open')

def dismiss(self, *largs, **kwargs):
Expand Down
2 changes: 1 addition & 1 deletion kivy/uix/rst.py
Original file line number Diff line number Diff line change
Expand Up @@ -902,7 +902,7 @@ def pop(self):
def brute_refs(self, node):
# get foot/cit refs manually because the output from
# docutils' parser doesn't contain any of these:
# node's refid, refname, backref, ... and/or are just ''/[]
# node's refid, refname, backref, ... and/or are just ''/[]

def get_refs(condition, backref=False):
# backref=True is used in nodes.footnote
Expand Down

0 comments on commit cd592c1

Please sign in to comment.