Skip to content

Commit 90df2fd

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks [dependabot skip]
1 parent cf059d1 commit 90df2fd

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

requirements-dev.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ httptools==0.6.1 ; python_version >= "3.9" and python_version < "4.0"
3434
httpx==0.27.0 ; python_version >= "3.9" and python_version < "4.0"
3535
identify==2.5.36 ; python_version >= "3.9" and python_version < "4.0"
3636
idna==3.7 ; python_version >= "3.9" and python_version < "4.0"
37-
importlib-metadata==7.2.0 ; python_version >= "3.9" and python_version < "3.10"
37+
importlib-metadata==7.2.0 ; python_version == "3.9"
3838
iniconfig==2.0.0 ; python_version >= "3.9" and python_version < "4.0"
3939
itsdangerous==2.2.0 ; python_version >= "3.9" and python_version < "4.0"
4040
jinja2==3.1.4 ; python_version >= "3.9" and python_version < "4.0"
@@ -124,11 +124,11 @@ tzlocal==5.2 ; python_version >= "3.9" and python_version < "4.0"
124124
ujson==5.10.0 ; python_version >= "3.9" and python_version < "4.0"
125125
urllib3==2.2.2 ; python_version >= "3.9" and python_version < "4.0"
126126
uvicorn[standard]==0.30.1 ; python_version >= "3.9" and python_version < "4.0"
127-
uvloop==0.19.0 ; (sys_platform != "win32" and sys_platform != "cygwin") and platform_python_implementation != "PyPy" and python_version >= "3.9" and python_version < "4.0"
127+
uvloop==0.19.0 ; sys_platform != "win32" and sys_platform != "cygwin" and platform_python_implementation != "PyPy" and python_version >= "3.9" and python_version < "4.0"
128128
virtualenv==20.26.2 ; python_version >= "3.9" and python_version < "4.0"
129129
watchdog==4.0.1 ; python_version >= "3.9" and python_version < "4.0"
130130
watchfiles==0.22.0 ; python_version >= "3.9" and python_version < "4.0"
131131
wcwidth==0.2.13 ; python_version >= "3.9" and python_version < "4.0"
132132
websockets==12.0 ; python_version >= "3.9" and python_version < "4.0"
133133
wrapt==1.16.0 ; python_version >= "3.9" and python_version < "4.0"
134-
zipp==3.19.2 ; python_version >= "3.9" and python_version < "3.10"
134+
zipp==3.19.2 ; python_version == "3.9"

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ tzdata==2024.1 ; python_version >= "3.9" and python_version < "4.0" and platform
3939
tzlocal==5.2 ; python_version >= "3.9" and python_version < "4.0"
4040
ujson==5.10.0 ; python_version >= "3.9" and python_version < "4.0"
4141
uvicorn[standard]==0.30.1 ; python_version >= "3.9" and python_version < "4.0"
42-
uvloop==0.19.0 ; (sys_platform != "win32" and sys_platform != "cygwin") and platform_python_implementation != "PyPy" and python_version >= "3.9" and python_version < "4.0"
42+
uvloop==0.19.0 ; sys_platform != "win32" and sys_platform != "cygwin" and platform_python_implementation != "PyPy" and python_version >= "3.9" and python_version < "4.0"
4343
watchfiles==0.22.0 ; python_version >= "3.9" and python_version < "4.0"
4444
websockets==12.0 ; python_version >= "3.9" and python_version < "4.0"

tests/live_test.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ async def cache_expires() -> dict[str, Union[bool, str]]:
6161

6262
@app.get("/cache_json_encoder")
6363
@cache(tag="test_tag_1")
64-
def cache_json_encoder() -> (
65-
dict[str, Union[bool, str, datetime, date, Decimal]]
66-
):
64+
def cache_json_encoder() -> dict[
65+
str, Union[bool, str, datetime, date, Decimal]
66+
]:
6767
"""Route that returns a dictionary with different data types.
6868
6969
This has the default cache time of 1 year.

tests/main.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ async def cache_expires() -> dict[str, Union[bool, str]]:
3333

3434
@app.get("/cache_json_encoder")
3535
@cache()
36-
def cache_json_encoder() -> (
37-
dict[str, Union[bool, str, datetime, date, Decimal]]
38-
):
36+
def cache_json_encoder() -> dict[
37+
str, Union[bool, str, datetime, date, Decimal]
38+
]:
3939
"""Route that returns a dictionary with different data types."""
4040
return {
4141
"success": True,

0 commit comments

Comments
 (0)