Temporary MMS branch #1200
ci_lint_py.yaml
on: pull_request
Lint Python
/
Lint
3m 7s
Annotations
10 errors and 1 warning
Lint Python / Lint:
src/fairseq2/utils/cluster.py#L13
Cannot find implementation or library stub for module named "submitit"
|
Lint Python / Lint:
src/fairseq2/utils/cluster.py#L14
Cannot find implementation or library stub for module named "submitit.helpers"
|
Lint Python / Lint:
src/fairseq2/utils/cluster.py#L94
Too many arguments
|
Lint Python / Lint:
src/fairseq2/utils/cluster.py#L96
Incompatible return value type (got "Callable[[JobConfigT, Path], None]", expected "Callable[[JobConfigT], None]")
|
Lint Python / Lint:
src/fairseq2/nn/utils/fairseq1_mask.py#L25
Missing type parameters for generic type "ndarray"
|
Lint Python / Lint:
src/fairseq2/nn/utils/fairseq1_mask.py#L76
No overload variant matches argument types "float", "int", "int"
|
Lint Python / Lint:
src/fairseq2/nn/utils/fairseq1_mask.py#L79
Incompatible types in assignment (expression has type "list[int]", variable has type "ndarray[Any, dtype[Any]]")
|
Lint Python / Lint:
src/fairseq2/nn/utils/fairseq1_mask.py#L82
Incompatible types in assignment (expression has type "list[int]", variable has type "ndarray[Any, dtype[Any]]")
|
Lint Python / Lint:
src/fairseq2/nn/utils/fairseq1_mask.py#L90
Need type annotation for "mask_idc" (hint: "mask_idc: list[<type>] = ...")
|
Lint Python / Lint:
src/fairseq2/nn/utils/fairseq1_mask.py#L92
Function is missing a type annotation
|
Lint Python / Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|