diff --git a/pysollib/tk/selecttree.py b/pysollib/tk/selecttree.py index b720e363..48101f18 100644 --- a/pysollib/tk/selecttree.py +++ b/pysollib/tk/selecttree.py @@ -24,20 +24,23 @@ __all__ = ['SelectDialogTreeData'] # imports -import tkFont # Toolkit imports from tktree import MfxTreeLeaf, MfxTreeNode, MfxTreeInCanvas -from pysollib.ui.tktile.selecttree import BaseSelectDialogTreeLeaf, BaseSelectDialogTreeNode, SelectDialogTreeData, BaseSelectDialogTreeCanvas +from pysollib.ui.tktile.selecttree import BaseSelectDialogTreeLeaf, \ + BaseSelectDialogTreeNode, SelectDialogTreeData, \ + BaseSelectDialogTreeCanvas # ************************************************************************ # * Nodes # ************************************************************************ + class SelectDialogTreeLeaf(MfxTreeLeaf, BaseSelectDialogTreeLeaf): pass + class SelectDialogTreeNode(MfxTreeNode, BaseSelectDialogTreeNode): pass @@ -45,5 +48,6 @@ class SelectDialogTreeNode(MfxTreeNode, BaseSelectDialogTreeNode): # * Canvas that shows the tree (left side) # ************************************************************************ + class SelectDialogTreeCanvas(MfxTreeInCanvas, BaseSelectDialogTreeCanvas): pass diff --git a/tests/style/py-flake8.t b/tests/style/py-flake8.t index 38a4319d..daa036ff 100644 --- a/tests/style/py-flake8.t +++ b/tests/style/py-flake8.t @@ -27,7 +27,7 @@ my %skip = # my $cmd = shell_quote( 'flake8', '.' ); my $cmd = shell_quote( 'flake8', - grep { not exists $skip{$_} } glob('./*.py ./scripts/*.py ./tests/board_gen/*.py ./pysollib/*.py ./pysollib/[cmgpuw]*/{*/*.py,*.py} ./pysollib/tile/*.py ./pysollib/tk/{[a-p],selectcardset,selectgame,selecttile}*.py ./pysollib/ui/tktile/*.py') ); + grep { not exists $skip{$_} } glob('./*.py ./scripts/*.py ./tests/board_gen/*.py ./pysollib/*.py ./pysollib/[cmgpuw]*/{*/*.py,*.py} ./pysollib/tile/*.py ./pysollib/tk/{[a-p],select}*.py ./pysollib/ui/tktile/*.py') ); # TEST eq_or_diff( scalar(`$cmd`), '', "flake8 is happy with the code." );