From fb25046868b33c2db692e7edca654e51ce73b0af Mon Sep 17 00:00:00 2001 From: Joe R Date: Fri, 11 Aug 2023 20:56:29 -0400 Subject: [PATCH] Spacing updates for flake8. --- pysollib/games/beleagueredcastle.py | 2 +- pysollib/games/canfield.py | 2 +- pysollib/games/curdsandwhey.py | 2 +- pysollib/games/fortythieves.py | 4 ++-- pysollib/games/golf.py | 5 ++--- pysollib/images.py | 2 +- pysollib/options.py | 2 +- 7 files changed, 9 insertions(+), 10 deletions(-) diff --git a/pysollib/games/beleagueredcastle.py b/pysollib/games/beleagueredcastle.py index 821fdafb2a..312f13e671 100644 --- a/pysollib/games/beleagueredcastle.py +++ b/pysollib/games/beleagueredcastle.py @@ -44,7 +44,7 @@ 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 diff --git a/pysollib/games/canfield.py b/pysollib/games/canfield.py index c1e3f91810..a0ad4a3d08 100644 --- a/pysollib/games/canfield.py +++ b/pysollib/games/canfield.py @@ -722,7 +722,7 @@ def createGame(self): 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 diff --git a/pysollib/games/curdsandwhey.py b/pysollib/games/curdsandwhey.py index ab5a095b52..f82cd9a869 100644 --- a/pysollib/games/curdsandwhey.py +++ b/pysollib/games/curdsandwhey.py @@ -46,7 +46,7 @@ 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 # ************************************************************************ diff --git a/pysollib/games/fortythieves.py b/pysollib/games/fortythieves.py index b1e2699fe5..d6cfa580bb 100644 --- a/pysollib/games/fortythieves.py +++ b/pysollib/games/fortythieves.py @@ -42,8 +42,8 @@ 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 diff --git a/pysollib/games/golf.py b/pysollib/games/golf.py index 60b31858d1..a33559fcbb 100644 --- a/pysollib/games/golf.py +++ b/pysollib/games/golf.py @@ -50,9 +50,8 @@ 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): diff --git a/pysollib/images.py b/pysollib/images.py index b254f90a50..c197af89c4 100644 --- a/pysollib/images.py +++ b/pysollib/images.py @@ -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 diff --git a/pysollib/options.py b/pysollib/options.py index ea747e204f..974337a2e0 100644 --- a/pysollib/options.py +++ b/pysollib/options.py @@ -28,7 +28,7 @@ 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