Skip to content

Commit b159704

Browse files
committed
Исправление ошибок линтера и правка pyproject.toml
1 parent 818a4b5 commit b159704

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

brain_games/engine.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ def run_game(game):
1414

1515
if answer != correct_answer:
1616
print(
17-
f"'{answer}' is wrong answer ;(. Correct answer was '{correct_answer}'."
18-
)
17+
f"'{answer}' is wrong answer ;(. "
18+
f"Correct answer was '{correct_answer}'."
19+
)
1920
print(f"Let's try again, {name}!")
2021
return
2122

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ brain-progression = "brain_games.scripts.brain_progression:main"
3232
brain-prime = "brain_games.scripts.brain_prime:main"
3333

3434
[tool.ruff]
35-
line-length = 100
35+
line-length = 80
3636
target-version = "py310"
3737

3838
[tool.ruff.lint]

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)