Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
numirias committed Feb 5, 2019
1 parent 5d6552f commit 677cc6c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion plasma/layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Plasma(Layout):
('border_normal', '#333333', 'Unfocused window border color'),
('border_focus', '#00e891', 'Focused window border color'),
('border_normal_fixed', '#333333',
'Unfocused fixed-size window''border color'),
'Unfocused fixed-size window border color'),
('border_focus_fixed', '#00e8dc',
'Focused fixed-size window border color'),
('border_width', 1, 'Border width'),
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ disable =
attribute-defined-outside-init,

[flake8]
ignore = E226,E302,E305,E306,E731,F811
ignore = E226,E302,E305,E306,E731,F811,W504
exclude = __init__.py,lib/

[coverage:run]
Expand Down
12 changes: 6 additions & 6 deletions tests/test_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,22 +179,22 @@ def test_advanced_move2(self, root, grid):
a, b, c, d, e = grid
res = c.move_down()
assert b.parent.tree == [b, [d, e], c]
assert res == True
assert res is True
res = e.move_down()
assert b.parent.tree == [b, d, e, c]
assert res == True
assert res is True
res = e.move_left()
assert root.tree == [a, e, [b, d, c]]
assert res == True
assert res is True
res = d.move_right()
assert root.tree == [a, e, [b, c], d]
assert res == True
assert res is True
res = a.move_left()
assert root.tree == [a, e, [b, c], d]
assert res == False
assert res is False
res = d.move_right()
assert root.tree == [a, e, [b, c], d]
assert res == False
assert res is False

def test_move_blocked(self, root, grid):
a, b, c, d, e = grid
Expand Down

0 comments on commit 677cc6c

Please sign in to comment.