Skip to content

Commit 6a1e1cd

Browse files
committed
remove unused variables
1 parent 215bd0f commit 6a1e1cd

File tree

5 files changed

+2
-6
lines changed

5 files changed

+2
-6
lines changed

app/api/domains/cho.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
import asyncio
66
import re
7-
import string
87
import struct
98
import time
109
from collections.abc import Callable

app/api/domains/osu.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
import hashlib
77
import random
88
import secrets
9-
from base64 import b64decode
109
from collections import defaultdict
1110
from collections.abc import Awaitable
1211
from collections.abc import Callable

app/api/init_api.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
import asyncio
55
import io
6-
import os
76
import pprint
87
import sys
98
from collections.abc import AsyncIterator

app/repositories/favourites.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from __future__ import annotations
22

33
import textwrap
4-
from datetime import datetime
54
from typing import Any
65
from typing import TypedDict
76
from typing import cast
@@ -42,7 +41,7 @@ async def create(
4241
"userid": userid,
4342
"setid": setid,
4443
}
45-
rec_id = await app.state.services.database.execute(query, params)
44+
await app.state.services.database.execute(query, params)
4645

4746
query = f"""\
4847
SELECT {READ_PARAMS}

tests/integration/domains/osu_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ async def test_score_submission(
104104

105105
# cho token must be valid uuid
106106
try:
107-
session_token = UUID(response.headers["cho-token"])
107+
UUID(response.headers["cho-token"])
108108
except ValueError:
109109
raise AssertionError(
110110
"cho-token is not a valid uuid",

0 commit comments

Comments
 (0)