diff --git a/plasma/layout.py b/plasma/layout.py index da689c2..ec25d3c 100644 --- a/plasma/layout.py +++ b/plasma/layout.py @@ -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'), diff --git a/setup.cfg b/setup.cfg index f37db7c..10ffd5f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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] diff --git a/tests/test_node.py b/tests/test_node.py index d893aad..b812028 100644 --- a/tests/test_node.py +++ b/tests/test_node.py @@ -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