Skip to content

Commit

Permalink
remove golangci lint binary
Browse files Browse the repository at this point in the history
  • Loading branch information
pnxenopoulos committed Sep 4, 2023
1 parent 26093b2 commit 3945c2e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions awpy/analytics/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -626,14 +626,13 @@ def _handle_mvps(
player_statistics: dict[str, PlayerStatistics],
round_statistics: RoundStatistics,
) -> None:
if "mvpName" in game_round:
player_key = (
game_round["mvpName"]
if game_round["mvpSteamID"] == 0
else str(game_round["mvpSteamID"])
)
if player_key in round_statistics["active_players"]:
player_statistics[player_key]["mvp"] += 1
player_key = (
game_round["mvpName"]
if game_round["mvpSteamID"] == 0
else str(game_round["mvpSteamID"])
)
if player_key in round_statistics["active_players"]:
player_statistics[player_key]["mvp"] += 1


def _increment_statistic(
Expand Down
Binary file removed awpy/parser/bin/golangci-lint
Binary file not shown.

0 comments on commit 3945c2e

Please sign in to comment.