Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
raimannma committed Dec 15, 2024
1 parent 0d77d2b commit 6a33981
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 25 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ repos:
- id: pretty-format-json
args: [--autofix]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.2
rev: v0.8.3
hooks:
- id: ruff-format
# Hooks for validation
Expand All @@ -30,7 +30,7 @@ repos:
- id: check-ast
- id: debug-statements
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.2
rev: v0.8.3
hooks:
- id: ruff
- repo: local
Expand Down
4 changes: 3 additions & 1 deletion deadlock_analytics_api/routers/v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -1048,7 +1048,9 @@ def clean(query: str, params: dict):
for _hero_id, item_id, total, wins, unique_users in result:
if total > 5:
entries.append(
ItemWinRateEntry(item_id=item_id, total=total, wins=wins, unique_users=unique_users)
ItemWinRateEntry(
item_id=item_id, total=total, wins=wins, unique_users=unique_users
)
)

# For now only return the items that are the same
Expand Down
44 changes: 22 additions & 22 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6a33981

Please sign in to comment.