Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

😼 Merge pull request #16 from rentruewang/dependabot/pip/cryptography… #95

😼 Merge pull request #16 from rentruewang/dependabot/pip/cryptography…

😼 Merge pull request #16 from rentruewang/dependabot/pip/cryptography… #95

Triggered via push January 5, 2024 03:12
Status Failure
Total duration 1m 46s
Artifacts

typecheck.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 errors
type-check: perbert/constants.py#L16
Method "__eq__" overrides class "str" in an incompatible manner   Parameter 2 type mismatch: base parameter is type "object", override parameter is type "StrEnum | str"     Type "object" cannot be assigned to type "StrEnum | str"       "object" is incompatible with "StrEnum"       "object" is incompatible with "str" (reportIncompatibleMethodOverride)
type-check: perbert/constants.py#L16
Method "__eq__" overrides class "object" in an incompatible manner   Parameter 2 type mismatch: base parameter is type "object", override parameter is type "StrEnum | str"     Type "object" cannot be assigned to type "StrEnum | str"       "object" is incompatible with "StrEnum"       "object" is incompatible with "str" (reportIncompatibleMethodOverride)
type-check: perbert/models/models.py#L61
Method "forward" overrides class "LightningModule" in an incompatible manner   Parameter "args" is missing in override (reportIncompatibleMethodOverride)
type-check: perbert/models/models.py#L83
Method "training_step" overrides class "LightningModule" in an incompatible manner   Positional parameter count mismatch; base method has 3, but override has 3   Parameter "args" is missing in override   Parameter "**kwargs" has no corresponding parameter (reportIncompatibleMethodOverride)
type-check: perbert/models/models.py#L93
Method "test_step" overrides class "LightningModule" in an incompatible manner   Positional parameter count mismatch; base method has 3, but override has 3   Parameter "args" is missing in override   Parameter "**kwargs" has no corresponding parameter (reportIncompatibleMethodOverride)
type-check: perbert/models/models.py#L97
Method "validation_step" overrides class "LightningModule" in an incompatible manner   Positional parameter count mismatch; base method has 3, but override has 3   Parameter "args" is missing in override   Parameter "**kwargs" has no corresponding parameter (reportIncompatibleMethodOverride)
type-check
6 errors