mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-15 02:54:09 -04:00
flake8
This commit is contained in:
parent
5ed50b88ad
commit
85afebeaaf
2 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,6 @@
|
||||||
__all__ = ['EditTextDialog']
|
__all__ = ['EditTextDialog']
|
||||||
|
|
||||||
# imports
|
# imports
|
||||||
import Tkinter
|
|
||||||
|
|
||||||
# Toolkit imports
|
# Toolkit imports
|
||||||
from pysollib.tk.basetkmfxdialog import BaseTkMfxDialog
|
from pysollib.tk.basetkmfxdialog import BaseTkMfxDialog
|
||||||
|
@ -34,6 +33,7 @@ from pysollib.ui.tktile.edittextdialog import BaseEditTextDialog
|
||||||
# *
|
# *
|
||||||
# ************************************************************************
|
# ************************************************************************
|
||||||
|
|
||||||
|
|
||||||
class EditTextDialog(BaseEditTextDialog, BaseTkMfxDialog):
|
class EditTextDialog(BaseEditTextDialog, BaseTkMfxDialog):
|
||||||
def _calc_Resizable(self):
|
def _calc_Resizable(self):
|
||||||
return True
|
return True
|
||||||
|
|
|
@ -27,7 +27,7 @@ my %skip =
|
||||||
|
|
||||||
# my $cmd = shell_quote( 'flake8', '.' );
|
# my $cmd = shell_quote( 'flake8', '.' );
|
||||||
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-c]*.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-e]*.py ./pysollib/ui/tktile/*.py') );
|
||||||
|
|
||||||
# TEST
|
# TEST
|
||||||
eq_or_diff( scalar(`$cmd`), '', "flake8 is happy with the code." );
|
eq_or_diff( scalar(`$cmd`), '', "flake8 is happy with the code." );
|
||||||
|
|
Loading…
Add table
Reference in a new issue