Add ruff to ci setup #1
Annotations
10 errors and 1 warning
Ruff (F403):
array_api_compat/__init__.py#L22
array_api_compat/__init__.py:22:1: F403 `from .common import *` used; unable to detect undefined names
|
Ruff (F403):
array_api_compat/common/__init__.py#L1
array_api_compat/common/__init__.py:1:1: F403 `from ._helpers import *` used; unable to detect undefined names
|
Ruff (F401):
array_api_compat/common/_aliases.py#L9
array_api_compat/common/_aliases.py:9:58: F401 `typing.List` imported but unused
|
Ruff (F821):
array_api_compat/common/_aliases.py#L283
array_api_compat/common/_aliases.py:283:33: F821 Undefined name `np`
|
Ruff (F821):
array_api_compat/common/_helpers.py#L128
array_api_compat/common/_helpers.py:128:16: F821 Undefined name `Array`
|
Ruff (F821):
array_api_compat/common/_helpers.py#L128
array_api_compat/common/_helpers.py:128:31: F821 Undefined name `Device`
|
Ruff (F821):
array_api_compat/common/_helpers.py#L190
array_api_compat/common/_helpers.py:190:19: F821 Undefined name `Array`
|
Ruff (F821):
array_api_compat/common/_helpers.py#L190
array_api_compat/common/_helpers.py:190:36: F821 Undefined name `Device`
|
Ruff (F821):
array_api_compat/common/_helpers.py#L190
array_api_compat/common/_helpers.py:190:60: F821 Undefined name `Optional`
|
Ruff (F821):
array_api_compat/common/_helpers.py#L190
array_api_compat/common/_helpers.py:190:69: F821 Undefined name `Union`
|
check-ruff
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|