Removed unused files. #12
Annotations
10 errors and 4 warnings
Run jakebailey/pyright-action@v2:
api/backends.py#L11
Method "authenticate" overrides class "ModelBackend" in an incompatible manner
Positional parameter count mismatch; base method has 5, but override has 3
Parameter 3 name mismatch: base parameter is named "username", override parameter is named "token"
Parameter 4 mismatch: base parameter "password" is keyword parameter, override parameter is position-only
Parameter "**kwargs" has no corresponding parameter (reportIncompatibleMethodOverride)
|
Run jakebailey/pyright-action@v2:
api/middleware.py#L14
Argument of type "Literal['<h1>Unauthorized</h1>']" cannot be assigned to parameter "content" of type "bytes" in function "__init__"
"Literal['<h1>Unauthorized</h1>']" is incompatible with "bytes" (reportArgumentType)
|
Run jakebailey/pyright-action@v2:
api/views.py#L36
Cannot access member "objects" for type "type[Task]"
Member "objects" is unknown (reportAttributeAccessIssue)
|
Run jakebailey/pyright-action@v2:
api/views.py#L179
Cannot access member "objects" for type "type[Subject]"
Member "objects" is unknown (reportAttributeAccessIssue)
|
Run jakebailey/pyright-action@v2:
api/views.py#L224
Cannot access member "DoesNotExist" for type "type[User]"
Member "DoesNotExist" is unknown (reportAttributeAccessIssue)
|
Run jakebailey/pyright-action@v2:
api/views.py#L260
Cannot access member "objects" for type "type[Subject]"
Member "objects" is unknown (reportAttributeAccessIssue)
|
Run jakebailey/pyright-action@v2:
api/views.py#L262
Cannot access member "DoesNotExist" for type "type[Subject]"
Member "DoesNotExist" is unknown (reportAttributeAccessIssue)
|
Run jakebailey/pyright-action@v2:
api/views.py#L268
Cannot access member "objects" for type "type[Task]"
Member "objects" is unknown (reportAttributeAccessIssue)
|
Run jakebailey/pyright-action@v2:
api/views.py#L285
Cannot access member "objects" for type "type[Task]"
Member "objects" is unknown (reportAttributeAccessIssue)
|
Run jakebailey/pyright-action@v2:
api/views.py#L306
Cannot access member "objects" for type "type[AssignedTask]"
Member "objects" is unknown (reportAttributeAccessIssue)
|
Run jakebailey/pyright-action@v2:
common/models.py#L73
Instance methods should take a "self" parameter (reportSelfClsParameterName)
|
Run jakebailey/pyright-action@v2:
evaluator/images/cargo/entry.py#L10
Import "bleach" could not be resolved from source (reportMissingModuleSource)
|
Run jakebailey/pyright-action@v2:
evaluator/images/dotnet/entry.py#L13
Import "bleach" could not be resolved from source (reportMissingModuleSource)
|
Run jakebailey/pyright-action@v2:
evaluator/images/java/entry.py#L13
Import "bleach" could not be resolved from source (reportMissingModuleSource)
|
Loading