From c51fd84bc896c74f291b4c5f2c73b5e5852de3e5 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Fri, 5 Nov 2021 23:06:18 +0100 Subject: Do not use parenthesis when defining a class without inheritance Signed-off-by: Olivier Gayot --- pycameltris/piece.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pycameltris/piece.py') diff --git a/pycameltris/piece.py b/pycameltris/piece.py index aaeac66..2f3e7ce 100644 --- a/pycameltris/piece.py +++ b/pycameltris/piece.py @@ -14,7 +14,7 @@ yellow = (164, 164, 30) cyan = (30, 164, 150) -class Piece(): +class Piece: def __init__(self): self.square = square_template.copy() -- cgit v1.2.3