Skip to content

Introduce executorch_ops_check #26053

Introduce executorch_ops_check

Introduce executorch_ops_check #26053

Triggered via pull request December 3, 2024 05:18
Status Failure
Total duration 7m 29s
Artifacts

lint.yml

on: pull_request
lintrunner  /  linux-job
7m 20s
lintrunner / linux-job
android-java-format  /  linux-job
5m 5s
android-java-format / linux-job
Fit to window
Zoom out
Zoom in

Annotations

1 error and 5 warnings
lintrunner / linux-job
Process completed with exit code 1.
FLAKE8 F401: pytorch/executorch/codegen/tools/gen_all_oplist.py#L13
'typing.Tuple' imported but unused See https://www.flake8rules.com/rules/F401.html.
UFMT format: pytorch/executorch/codegen/tools/gen_all_oplist.py#L1
Run `lintrunner -a` to apply this patch.
FLAKE8 F541: pytorch/executorch/codegen/tools/test/test_gen_all_oplist.py#L114
f-string is missing placeholders See .
FLAKE8 B017: pytorch/executorch/codegen/tools/test/test_gen_all_oplist.py#L116
`assertRaises(Exception)` and `pytest.raises(Exception)` should be considered evil. They can lead to your test passing even if the code being tested is never executed due to a typo. Assert for a more specific exception (builtin or custom), or use `assertRaisesRegex` (if using `assertRaises`), or add the `match` keyword argument (if using `pytest.raises`), or use the context manager form with a target. See .
UFMT format: pytorch/executorch/codegen/tools/test/test_gen_all_oplist.py#L1
Run `lintrunner -a` to apply this patch.