Skip to content

Stabilize NWIS Tests and Improve 5xx Error Handling #479

Stabilize NWIS Tests and Improve 5xx Error Handling

Stabilize NWIS Tests and Improve 5xx Error Handling #479

Triggered via pull request April 3, 2026 18:19
Status Failure
Total duration 9s
Artifacts

python-package.yml

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

Annotations

10 errors and 1 warning
ruff (E303): tests/nwis_test.py#L92
tests/nwis_test.py:92:1: E303 Too many blank lines (3) help: Remove extraneous blank line(s)
ruff (W293): tests/nwis_test.py#L60
tests/nwis_test.py:60:1: W293 Blank line contains whitespace help: Remove whitespace from blank line
ruff (E501): tests/nwis_test.py#L53
tests/nwis_test.py:53:89: E501 Line too long (159 > 88)
ruff (E501): tests/nwis_test.py#L52
tests/nwis_test.py:52:89: E501 Line too long (115 > 88)
ruff (E501): tests/nwis_test.py#L48
tests/nwis_test.py:48:89: E501 Line too long (159 > 88)
ruff (E501): tests/nwis_test.py#L47
tests/nwis_test.py:47:89: E501 Line too long (115 > 88)
ruff (W293): tests/nwis_test.py#L35
tests/nwis_test.py:35:1: W293 Blank line contains whitespace help: Remove whitespace from blank line
ruff (E303): dataretrieval/utils.py#L222
dataretrieval/utils.py:222:5: E303 Too many blank lines (2) help: Remove extraneous blank line(s)
ruff (E303): dataretrieval/nwis.py#L692
dataretrieval/nwis.py:692:1: E303 Too many blank lines (3) help: Remove extraneous blank line(s)
ruff (E303): dataretrieval/nwis.py#L498
dataretrieval/nwis.py:498:1: E303 Too many blank lines (3) help: Remove extraneous blank line(s)
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. Node.js 20 will be removed from the runner on September 16th, 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/