Skip to content

Commit 1cf007d

Browse files
committed
lint: pyright
1 parent 5bee7e5 commit 1cf007d

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

dev-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ nest-asyncio==1.6.0
1010
pdoc3==0.11.0
1111
pre-commit==3.5.0
1212
pylint==3.2.7
13-
pyright==1.1.391
13+
pyright==1.1.393
1414
python-dotenv==1.0.1
1515
pytest==8.3.3
1616
pytest-asyncio==0.24.0

tests/auth-react/django3x/mysite/middleware.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ def middleware(request: HttpRequest) -> HttpResponse:
3232

3333
# Log the response
3434
print(
35-
f"Path: {request.path} | Method: {request.method} | Status: {response.status_code}"
36-
) # type: ignore
35+
f"Path: {request.path} | Method: {request.method} | Status: {response.status_code}" # type: ignore
36+
)
3737
if hasattr(response, "content"): # type: ignore
3838
print(f"Response: {response.content.decode('utf-8')}") # type: ignore
3939

tests/frontendIntegration/django3x/polls/urls.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@
2121
path("update-jwt", views.update_jwt, name="update_jwt"), # type: ignore
2222
path(
2323
"update-jwt-with-handle",
24-
views.update_jwt_with_handle,
24+
views.update_jwt_with_handle, # type: ignore
2525
name="update_jwt_with_handle",
26-
), # type: ignore
26+
),
2727
path(
2828
"session-claims-error",
29-
views.session_claim_error_api,
29+
views.session_claim_error_api, # type: ignore
3030
name="session_claim_error_api",
31-
), # type: ignore
31+
),
3232
path("403-without-body", views.without_body_403, name="without_body_403"), # type: ignore
3333
path("testing", views.testing, name="testing"), # type: ignore
3434
path("logout", views.logout, name="logout"), # type: ignore

tests/frontendIntegration/drf_async/polls/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
from django.http import HttpRequest
2525
from django.shortcuts import render
2626
from rest_framework.decorators import api_view as api_view_sync # type: ignore
27-
from rest_framework.decorators import renderer_classes
27+
from rest_framework.decorators import renderer_classes # type: ignore
2828
from rest_framework.renderers import BaseRenderer, StaticHTMLRenderer # type: ignore
2929
from rest_framework.request import Request # type: ignore
3030
from rest_framework.response import Response # type: ignore

0 commit comments

Comments
 (0)