1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-05 00:02:29 -04:00

Spacing updates for flake8.

This commit is contained in:
Joe R 2023-08-11 20:56:29 -04:00
parent 13a29b34ea
commit fb25046868
7 changed files with 9 additions and 10 deletions

View file

@ -44,7 +44,7 @@ from pysollib.stack import \
UD_SS_RowStack, \
WasteStack, \
WasteTalonStack
from pysollib.util import ACE, ANY_RANK, KING, NO_RANK, QUEEN, RANKS,\
from pysollib.util import ACE, ANY_RANK, KING, NO_RANK, QUEEN, RANKS, \
UNLIMITED_ACCEPTS, UNLIMITED_MOVES

View file

@ -722,7 +722,7 @@ class Duke(Game):
for i in range(4):
s.foundations.append(self.Foundation_Class(x, y, self, suit=i))
x += lay.XS
x0, y0, w = lay.XM, lay.YM+lay.YS+2*lay.TEXT_HEIGHT,\
x0, y0, w = lay.XM, lay.YM+lay.YS+2*lay.TEXT_HEIGHT, \
lay.XS+2*lay.XOFFSET
for i, j in ((0, 0), (0, 1), (1, 0), (1, 1)):
x, y = x0+i*w, y0+j*lay.YS

View file

@ -46,7 +46,7 @@ from pysollib.stack import \
WasteTalonStack, \
isRankSequence, \
isSameSuitSequence
from pysollib.util import ACE, ANY_RANK, ANY_SUIT, BLACK, KING, RED,\
from pysollib.util import ACE, ANY_RANK, ANY_SUIT, BLACK, KING, RED, \
UNLIMITED_ACCEPTS, UNLIMITED_MOVES
# ************************************************************************

View file

@ -42,8 +42,8 @@ from pysollib.stack import \
UD_AC_RowStack, \
WasteStack, \
WasteTalonStack
from pysollib.util import ACE, ANY_RANK, ANY_SUIT, CLUB, DIAMOND,\
HEART, JACK, KING, NO_RANK, SPADE, UNLIMITED_MOVES,\
from pysollib.util import ACE, ANY_RANK, ANY_SUIT, CLUB, DIAMOND, \
HEART, JACK, KING, NO_RANK, SPADE, UNLIMITED_MOVES, \
UNLIMITED_REDEALS

View file

@ -50,9 +50,8 @@ from pysollib.stack import \
WasteStack, \
WasteTalonStack, \
isSameSuitSequence
from pysollib.util import ACE, ANY_RANK, ANY_SUIT, DIAMOND, KING, NO_RANK,\
RANKS, SUITS, \
UNLIMITED_REDEALS
from pysollib.util import ACE, ANY_RANK, ANY_SUIT, DIAMOND, KING, NO_RANK, \
RANKS, SUITS, UNLIMITED_REDEALS
class Golf_Hint(AbstractHint):

View file

@ -25,7 +25,7 @@
import os
from pysollib.mfxutil import Image, ImageTk, USE_PIL, print_err
from pysollib.pysoltk import copyImage, createBottom, createImage,\
from pysollib.pysoltk import copyImage, createBottom, createImage, \
createImagePIL, loadImage
from pysollib.pysoltk import shadowImage
from pysollib.resource import CSI

View file

@ -28,7 +28,7 @@ import traceback
import configobj
import pysollib.settings
from pysollib.mfxutil import USE_PIL,\
from pysollib.mfxutil import USE_PIL, \
get_default_resampling, print_err
from pysollib.mygettext import _
from pysollib.mygettext import myGettext