Skip to content

Commit

Permalink
black lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-Kopylov committed Apr 6, 2024
1 parent d068186 commit 9479f0e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/data_models/Game.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ def validate_player_distribution(
or total_liberals > max_liberals
or total_fascists > max_fascists
):
raise ValueError(f"Invalid player distribution: {total_hitlers} Hitlers, {total_liberals} Liberals, {total_fascists} Fascists. Max allowed - Hitlers: {max_hitlers}, Liberals: {max_liberals}, Fascists: {max_fascists}.")
raise ValueError(
f"Invalid player distribution: {total_hitlers} Hitlers, {total_liberals} Liberals, {total_fascists} Fascists. Max allowed - Hitlers: {max_hitlers}, Liberals: {max_liberals}, Fascists: {max_fascists}."
)

def check_mutually_exclusive_victory_conditions(
cls, outcomes_counter: Counter
Expand Down

0 comments on commit 9479f0e

Please sign in to comment.