Skip to content

improve label_loc syntax and code path slightly #253

improve label_loc syntax and code path slightly

improve label_loc syntax and code path slightly #253

Triggered via push June 2, 2024 06:43
Status Failure
Total duration 48s
Artifacts

check.yml

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

Annotations

10 errors and 3 warnings
Ruff (W291): ausankey/ausankey.py#L241
ausankey.py:241:83: W291 Trailing whitespace
Ruff (W293): ausankey/ausankey.py#L242
ausankey.py:242:1: W293 Blank line contains whitespace
Ruff (W293): ausankey/ausankey.py#L246
ausankey.py:246:1: W293 Blank line contains whitespace
Ruff (N803): ausankey/ausankey.py#L381
ausankey.py:381:37: N803 Argument name `Nmax` should be lowercase
Ruff (E721): ausankey/ausankey.py#L382
ausankey.py:382:16: E721 Do not compare types, use `isinstance()`
Ruff (PLR2004): ausankey/ausankey.py#L384
ausankey.py:384:37: PLR2004 Magic value used in comparison, consider replacing `3` with a constant variable
Ruff (PLR2004): ausankey/ausankey.py#L384
ausankey.py:384:51: PLR2004 Magic value used in comparison, consider replacing `2` with a constant variable
Ruff (PLR2004): ausankey/ausankey.py#L389
ausankey.py:389:37: PLR2004 Magic value used in comparison, consider replacing `3` with a constant variable
Ruff (PLR2004): ausankey/ausankey.py#L389
ausankey.py:389:50: PLR2004 Magic value used in comparison, consider replacing `3` with a constant variable
Ruff (F841): ausankey/ausankey.py#L630
ausankey.py:630:9: F841 Local variable `ha_dict` is assigned to but never used
test (3.9)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (3.10)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (3.11)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.