summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Gayot <olivier.gayot@sigexec.com>2021-11-12 19:40:03 +0100
committerOlivier Gayot <olivier.gayot@sigexec.com>2021-11-12 19:41:32 +0100
commitc212b040b6850422b6b45da6181ce313dc786c4c (patch)
tree9b244dd73ed4f99f3bd2914f543df28b348f639c
parent75cafb53ccc32afab3f15dfb5634874fd9500c84 (diff)
Rename base class screen module base_screen to make pylint happy
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
-rwxr-xr-x__main__.py2
-rw-r--r--cameltris/screens/base_screen.py (renamed from cameltris/screens/screen.py)0
-rw-r--r--cameltris/screens/in_game.py2
-rw-r--r--cameltris/screens/pause.py2
4 files changed, 3 insertions, 3 deletions
diff --git a/__main__.py b/__main__.py
index 404d289..d0aeb17 100755
--- a/__main__.py
+++ b/__main__.py
@@ -7,7 +7,7 @@ import argparse
import pygame
from cameltris.controller import Controller, KeyboardController, JoystickController
-from cameltris.screens.screen import Screen
+from cameltris.screens.base_screen import Screen
from cameltris.screens.in_game import InGame as InGameScreen, Player
from cameltris.screens.pause import Pause as PauseScreen
from cameltris.misc import Pause, UnPause
diff --git a/cameltris/screens/screen.py b/cameltris/screens/base_screen.py
index 87c15f4..87c15f4 100644
--- a/cameltris/screens/screen.py
+++ b/cameltris/screens/base_screen.py
diff --git a/cameltris/screens/in_game.py b/cameltris/screens/in_game.py
index 1ae20de..46450aa 100644
--- a/cameltris/screens/in_game.py
+++ b/cameltris/screens/in_game.py
@@ -7,7 +7,7 @@ from typing import Callable, NoReturn, Optional
import pygame
from ..color import Color
-from .screen import Screen
+from .base_screen import Screen
from ..piece import *
from ..playfield import PlayField
from ..controller import Input, Controller, KeyboardController, JoystickController
diff --git a/cameltris/screens/pause.py b/cameltris/screens/pause.py
index 99749f3..72ff51a 100644
--- a/cameltris/screens/pause.py
+++ b/cameltris/screens/pause.py
@@ -4,7 +4,7 @@ from typing import Callable, NoReturn
import pygame
-from .screen import Screen
+from .base_screen import Screen
from ..controller import Controller, KeyboardController, JoystickController, Input
from ..misc import UnPause