Skip to content

Commit a64b34f

Browse files
committed
Fix linting
1 parent 5448049 commit a64b34f

File tree

5 files changed

+6
-24
lines changed

5 files changed

+6
-24
lines changed

brain_games/games/calc.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
11
import random
22

3-
from brain_games.consts import (
4-
CALC_INSTRUCTION,
5-
MATH_SIGNS,
6-
MAX_NUM,
7-
MIN_NUM
8-
)
3+
from brain_games.consts import CALC_INSTRUCTION, MATH_SIGNS, MAX_NUM, MIN_NUM
94
from brain_games.engine import run_game
105

116

12-
137
def get_math_sign():
148
math_sign = random.choice(MATH_SIGNS)
159
return math_sign

brain_games/games/even.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
import random
22

3-
from brain_games.consts import (
4-
EVEN_INSTRUCTION,
5-
MAX_NUM,
6-
MIN_NUM
7-
)
3+
from brain_games.consts import EVEN_INSTRUCTION, MAX_NUM, MIN_NUM
84
from brain_games.engine import run_game
95

106

brain_games/games/gcd.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
import random
22

3-
from brain_games.consts import (
4-
GCD_INSTRUCTION,
5-
MAX_NUM,
6-
MIN_NUM
7-
)
3+
from brain_games.consts import GCD_INSTRUCTION, MAX_NUM, MIN_NUM
84
from brain_games.engine import run_game
95

106

brain_games/games/prime.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
import random
22

3-
from brain_games.consts import (
4-
PRIME_INSTRUCTION,
5-
MAX_NUM,
6-
MIN_NUM
7-
)
3+
from brain_games.consts import MAX_NUM, MIN_NUM, PRIME_INSTRUCTION
84
from brain_games.engine import run_game
95

106

brain_games/games/progression.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import random
22

33
from brain_games.consts import (
4-
PROGRESSION_INSTRUCTION,
54
MAX_LENGTH,
65
MAX_NUM,
6+
MIN_LENGTH,
77
MIN_NUM,
8-
MIN_LENGTH
8+
PROGRESSION_INSTRUCTION,
99
)
1010
from brain_games.engine import run_game
1111

0 commit comments

Comments
 (0)