usermanager: Improve help on invalid arguments #2480
Annotations
5 errors and 13 warnings
|
Lint:
tests/unit_tests/test_node_handler.py#L15
Unable to import 'kernelci.api.models'
|
|
Lint:
tests/unit_tests/test_events_handler.py#L8
Unable to import 'kernelci.api.models'
|
|
Lint:
tests/e2e_tests/conftest.py#L13
Unable to import 'kernelci.api.models'
|
|
Lint:
api/main.py#L49
Unable to import 'kernelci.api.models'
|
|
Lint:
api/db.py#L14
Unable to import 'kernelci.api.models'
|
|
Lint
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v3. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Lint:
scripts/usermanager.py#L298
Formatting a regular string which could be an f-string
|
|
Lint:
scripts/usermanager.py#L575
Redefining name 'exc' from outer scope (line 14)
|
|
Lint:
scripts/usermanager.py#L277
Too many local variables (41/15)
|
|
Lint:
scripts/usermanager.py#L277
Missing function or method docstring
|
|
Lint:
scripts/usermanager.py#L251
Redefining name 'exc' from outer scope (line 14)
|
|
Lint:
scripts/usermanager.py#L225
Redefining name 'exc' from outer scope (line 14)
|
|
Lint:
scripts/usermanager.py#L206
Redefining name 'exc' from outer scope (line 14)
|
|
Lint:
scripts/usermanager.py#L177
Redefining name 'exc' from outer scope (line 14)
|
|
Lint:
scripts/usermanager.py#L136
Redefining name 'exc' from outer scope (line 14)
|
|
Lint:
scripts/usermanager.py#L1
Missing module docstring
|
|
check (3.11)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
check (3.10)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|