coreml attention tests #26051
lint.yml
on: pull_request
lintrunner
/
linux-job
7m 46s
android-java-format
/
linux-job
5m 13s
Annotations
1 error and 3 warnings
lintrunner / linux-job
Process completed with exit code 1.
|
FLAKE8 F401:
pytorch/executorch/coreml_attention.py#L1
'typing.Tuple' imported but unused
See https://www.flake8rules.com/rules/F401.html.
|
FLAKE8 C416:
pytorch/executorch/coreml_attention.py#L177
Unnecessary list comprehension - rewrite using list().
See https://pypi.org/project/flake8-comprehensions/#rules.
|
FLAKE8 B011:
pytorch/executorch/coreml_attention.py#L251
Do not call assert False since python -O removes these calls. Instead callers should raise AssertionError().
See https://github.com/PyCQA/flake8-bugbear#list-of-warnings.
|