Skip to content

rel 2024.2

rel 2024.2 #7

Triggered via push April 4, 2024 22:32
Status Failure
Total duration 42s
Artifacts

test-lint.yaml

on: push
Matrix: Python Test and Lint
Fit to window
Zoom out
Zoom in

Annotations

27 errors and 1 warning
Python Test and Lint (3.9)
Process completed with exit code 1.
Python Test and Lint (3.11)
The job was canceled because "_3_9" failed.
Ruff (SIM115): licensecheck/cli.py#L116
licensecheck/cli.py:116:8: SIM115 Use context handler for opening files
Ruff (C901): licensecheck/get_deps.py#L65
licensecheck/get_deps.py:65:5: C901 `do_get_reqs` is too complex (29 > 10)
Ruff (PERF203): licensecheck/packageinfo.py#L136
licensecheck/packageinfo.py:136:3: PERF203 `try`-`except` within a loop incurs performance overhead
Ruff (D100): licensecheck/session.py#L1
licensecheck/session.py:1:1: D100 Missing docstring in public module
Ruff (PYI034): licensecheck/types.py#L14
licensecheck/types.py:14:6: PYI034 `__new__` methods in classes like `ucstr` usually return `self` at runtime
Ruff (ANN001): tests/conftest.py#L22
tests/conftest.py:22:18: ANN001 Missing type annotation for function argument `record`
Ruff (ERA001): tests/test_cli.py#L23
tests/test_cli.py:23:2: ERA001 Found commented-out code
Ruff (ANN001): tests/test_cli.py#L46
tests/test_cli.py:46:15: ANN001 Missing type annotation for function argument `args`
Ruff (ANN001): tests/test_cli.py#L46
tests/test_cli.py:46:21: ANN001 Missing type annotation for function argument `expected_exit_code`
Ruff (ERA001): tests/test_license_matrix.py#L22
tests/test_license_matrix.py:22:2: ERA001 Found commented-out code
Python Test and Lint (3.10)
The job was canceled because "_3_9" failed.
Ruff (SIM115): licensecheck/cli.py#L116
licensecheck/cli.py:116:8: SIM115 Use context handler for opening files
Ruff (C901): licensecheck/get_deps.py#L65
licensecheck/get_deps.py:65:5: C901 `do_get_reqs` is too complex (29 > 10)
Ruff (PERF203): licensecheck/packageinfo.py#L136
licensecheck/packageinfo.py:136:3: PERF203 `try`-`except` within a loop incurs performance overhead
Ruff (D100): licensecheck/session.py#L1
licensecheck/session.py:1:1: D100 Missing docstring in public module
Ruff (PYI034): licensecheck/types.py#L14
licensecheck/types.py:14:6: PYI034 `__new__` methods in classes like `ucstr` usually return `self` at runtime
Ruff (ANN001): tests/conftest.py#L22
tests/conftest.py:22:18: ANN001 Missing type annotation for function argument `record`
Ruff (ERA001): tests/test_cli.py#L23
tests/test_cli.py:23:2: ERA001 Found commented-out code
Ruff (ANN001): tests/test_cli.py#L46
tests/test_cli.py:46:15: ANN001 Missing type annotation for function argument `args`
Ruff (ANN001): tests/test_cli.py#L46
tests/test_cli.py:46:21: ANN001 Missing type annotation for function argument `expected_exit_code`
Ruff (ERA001): tests/test_license_matrix.py#L22
tests/test_license_matrix.py:22:2: ERA001 Found commented-out code
Python Test and Lint (3.8)
The job was canceled because "_3_9" failed.
Python Test and Lint (3.8)
The operation was canceled.
Python Test and Lint (3.12)
The job was canceled because "_3_9" failed.
Python Test and Lint (3.12)
The operation was canceled.
Python Test and Lint (3.9)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.