Lint code #1225
lint.yaml
on: pull_request
Get changed files
13s
Check formatting
14s
Check linting
15s
Check types with mypy
19s
Check docs
0s
Annotations
3 errors and 4 warnings
|
Check linting
Process completed with exit code 1.
|
|
ruff (F401):
beets/ui/commands/import_/display.py#L8
beets/ui/commands/import_/display.py:8:31: F401 `typing_extensions.NotRequired` imported but unused
help: Remove unused import: `typing_extensions.NotRequired`
|
|
ruff (F401):
beets/ui/commands/import_/display.py#L6
beets/ui/commands/import_/display.py:6:35: F401 `typing.TypedDict` imported but unused
help: Remove unused import: `typing.TypedDict`
|
|
Get changed files
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: tj-actions/changed-files@v46. 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 formatting
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: BrandonLWhite/pipx-install-action@v1.0.3. 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 linting
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: BrandonLWhite/pipx-install-action@v1.0.3. 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 types with mypy
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: BrandonLWhite/pipx-install-action@v1.0.3, liskin/gh-problem-matcher-wrap@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/
|