Switch ModelSearch from os.walk to os.scandir #4746
Annotations
4 errors and 1 warning
Ruff (I001):
invokeai/backend/model_manager/search.py#L23
invokeai/backend/model_manager/search.py:23:1: I001 Import block is un-sorted or un-formatted
|
Ruff (B012):
invokeai/backend/model_manager/search.py#L175
invokeai/backend/model_manager/search.py:175:17: B012 `return` inside `finally` blocks cause exceptions to be silenced
|
Ruff (C419):
invokeai/backend/model_manager/search.py#L178
invokeai/backend/model_manager/search.py:178:20: C419 Unnecessary list comprehension
|
ruff
Process completed with exit code 1.
|
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/.
|