Skip to content

Use model_validator mode=before for MappableConcept #1915

Use model_validator mode=before for MappableConcept

Use model_validator mode=before for MappableConcept #1915

Re-run triggered March 25, 2026 15:14
Status Failure
Total duration 35s
Artifacts

python-cqa.yml

on: pull_request
Matrix: precommit_hooks
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 8 warnings
lint
Process completed with exit code 1.
Ruff (SIM102): src/ga4gh/core/models.py#L232
src/ga4gh/core/models.py:232:9: SIM102 Use a single `if` statement instead of nested `if` statements
Ruff (ANN401): src/ga4gh/core/models.py#L230
src/ga4gh/core/models.py:230:61: ANN401 Dynamically typed expressions (typing.Any) are disallowed in `require_name_or_primary_coding`
Ruff (ANN401): src/ga4gh/core/models.py#L230
src/ga4gh/core/models.py:230:53: ANN401 Dynamically typed expressions (typing.Any) are disallowed in `values`
precommit_hooks (end-of-file-fixer)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-python@v5. 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/
precommit_hooks (end-of-file-fixer)
The `python-version` input is not set. The version of Python currently in `PATH` will be used.
precommit_hooks (trailing-whitespace)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-python@v5. 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/
precommit_hooks (trailing-whitespace)
The `python-version` input is not set. The version of Python currently in `PATH` will be used.
precommit_hooks (mixed-line-ending)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-python@v5. 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/
precommit_hooks (mixed-line-ending)
The `python-version` input is not set. The version of Python currently in `PATH` will be used.
lint
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-python@v5. 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
The `python-version` input is not set. The version of Python currently in `PATH` will be used.