summaryrefslogtreecommitdiff
path: root/swiftstory
diff options
context:
space:
mode:
authorOlivier Gayot <olivier.gayot@sigexec.com>2021-12-23 15:27:43 +0100
committerOlivier Gayot <olivier.gayot@sigexec.com>2021-12-23 23:15:21 +0100
commit82cd09e010783b81ec58145c7682f4b8da49ac85 (patch)
tree83b3e61aaa4befcd340a01b2fb147a2306bdb29e /swiftstory
parent1be5c49ae402b768f9206724abdd503c18933ae1 (diff)
Use lowercase module names
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
Diffstat (limited to 'swiftstory')
-rw-r--r--swiftstory/__main__.py8
-rw-r--r--swiftstory/board.py (renamed from swiftstory/Board.py)0
-rw-r--r--swiftstory/cards.py (renamed from swiftstory/Cards.py)0
-rw-r--r--swiftstory/client.py (renamed from swiftstory/Client.py)0
-rw-r--r--swiftstory/game.py (renamed from swiftstory/Game.py)6
-rw-r--r--swiftstory/game_manager.py (renamed from swiftstory/GameManager.py)4
-rw-r--r--swiftstory/player.py (renamed from swiftstory/Player.py)0
-rw-r--r--swiftstory/status.py (renamed from swiftstory/Status.py)0
8 files changed, 9 insertions, 9 deletions
diff --git a/swiftstory/__main__.py b/swiftstory/__main__.py
index 0b5d7c7..00c6e39 100644
--- a/swiftstory/__main__.py
+++ b/swiftstory/__main__.py
@@ -9,13 +9,13 @@ import json
import logging
import websockets
-import swiftstory.GameManager
+import swiftstory.game_manager
from swiftstory.exception import WrongAction, JoinError
-from swiftstory.Client import Client
-from swiftstory.Status import error
+from swiftstory.client import Client
+from swiftstory.status import error
-game_manager = swiftstory.GameManager.GameManager()
+game_manager = swiftstory.game_manager.GameManager()
def message_received_handler(client, message):
diff --git a/swiftstory/Board.py b/swiftstory/board.py
index c9b2aee..c9b2aee 100644
--- a/swiftstory/Board.py
+++ b/swiftstory/board.py
diff --git a/swiftstory/Cards.py b/swiftstory/cards.py
index d570f87..d570f87 100644
--- a/swiftstory/Cards.py
+++ b/swiftstory/cards.py
diff --git a/swiftstory/Client.py b/swiftstory/client.py
index a84783d..a84783d 100644
--- a/swiftstory/Client.py
+++ b/swiftstory/client.py
diff --git a/swiftstory/Game.py b/swiftstory/game.py
index ea0582a..cda3ddd 100644
--- a/swiftstory/Game.py
+++ b/swiftstory/game.py
@@ -1,9 +1,9 @@
import random
from swiftstory.exception import WrongAction, JoinError
-from swiftstory.Player import Player
-from swiftstory.Board import Board
-from swiftstory.Status import error, success
+from swiftstory.player import Player
+from swiftstory.board import Board
+from swiftstory.status import error, success
class Game:
diff --git a/swiftstory/GameManager.py b/swiftstory/game_manager.py
index 52ce554..a87f67e 100644
--- a/swiftstory/GameManager.py
+++ b/swiftstory/game_manager.py
@@ -2,8 +2,8 @@ import logging
import os
from swiftstory.exception import UnsupportedLanguage
-from swiftstory.Game import Game
-from swiftstory.Cards import Cards
+from swiftstory.game import Game
+from swiftstory.cards import Cards
class GameManager:
diff --git a/swiftstory/Player.py b/swiftstory/player.py
index 7193b64..7193b64 100644
--- a/swiftstory/Player.py
+++ b/swiftstory/player.py
diff --git a/swiftstory/Status.py b/swiftstory/status.py
index fb8347b..fb8347b 100644
--- a/swiftstory/Status.py
+++ b/swiftstory/status.py