qol changes, use pydantic, fix #146 #65
Annotations
30 errors and 3 warnings
|
ruff (ANN001):
tests/io/test_cli_main.py#L56
tests/io/test_cli_main.py:56:2: ANN001 Missing type annotation for function argument `monkeypatch`
|
|
ruff (ANN001):
tests/io/test_cli_main.py#L34
tests/io/test_cli_main.py:34:2: ANN001 Missing type annotation for function argument `monkeypatch`
|
|
ruff (ANN001):
tests/conftest.py#L22
tests/conftest.py:22:18: ANN001 Missing type annotation for function argument `record`
|
|
ruff (SLF001):
licensecheck/packageinforesolver.py#L83
licensecheck/packageinforesolver.py:83:16: SLF001 Private member accessed: `_spec`
|
|
ruff (SLF001):
licensecheck/packageinforesolver.py#L82
licensecheck/packageinforesolver.py:82:24: SLF001 Private member accessed: `_specs`
|
|
ruff (ANN401):
licensecheck/models/defaultonnone.py#L9
licensecheck/models/defaultonnone.py:9:43: ANN401 Dynamically typed expressions (typing.Any) are disallowed in `default_on_none`
|
|
ruff (ANN401):
licensecheck/models/defaultonnone.py#L9
licensecheck/models/defaultonnone.py:9:35: ANN401 Dynamically typed expressions (typing.Any) are disallowed in `values`
|
|
ruff (F401):
licensecheck/license_matrix/__init__.py#L44
licensecheck/license_matrix/__init__.py:44:20: F401 `typing.Any` imported but unused
help: Remove unused import: `typing.Any`
|
|
ruff (SIM115):
licensecheck/io/cli.py#L151
licensecheck/io/cli.py:151:8: SIM115 Use a context manager for opening files
|
|
ruff (E501):
licensecheck/io/cli.py#L1
licensecheck/io/cli.py:1:101: E501 Line too long (106 > 100)
|
|
ruff (ANN001):
tests/io/test_cli_main.py#L56
tests/io/test_cli_main.py:56:2: ANN001 Missing type annotation for function argument `monkeypatch`
|
|
ruff (ANN001):
tests/io/test_cli_main.py#L34
tests/io/test_cli_main.py:34:2: ANN001 Missing type annotation for function argument `monkeypatch`
|
|
ruff (ANN001):
tests/conftest.py#L22
tests/conftest.py:22:18: ANN001 Missing type annotation for function argument `record`
|
|
ruff (SLF001):
licensecheck/packageinforesolver.py#L83
licensecheck/packageinforesolver.py:83:16: SLF001 Private member accessed: `_spec`
|
|
ruff (SLF001):
licensecheck/packageinforesolver.py#L82
licensecheck/packageinforesolver.py:82:24: SLF001 Private member accessed: `_specs`
|
|
ruff (ANN401):
licensecheck/models/defaultonnone.py#L9
licensecheck/models/defaultonnone.py:9:43: ANN401 Dynamically typed expressions (typing.Any) are disallowed in `default_on_none`
|
|
ruff (ANN401):
licensecheck/models/defaultonnone.py#L9
licensecheck/models/defaultonnone.py:9:35: ANN401 Dynamically typed expressions (typing.Any) are disallowed in `values`
|
|
ruff (F401):
licensecheck/license_matrix/__init__.py#L44
licensecheck/license_matrix/__init__.py:44:20: F401 `typing.Any` imported but unused
help: Remove unused import: `typing.Any`
|
|
ruff (SIM115):
licensecheck/io/cli.py#L151
licensecheck/io/cli.py:151:8: SIM115 Use a context manager for opening files
|
|
ruff (E501):
licensecheck/io/cli.py#L1
licensecheck/io/cli.py:1:101: E501 Line too long (106 > 100)
|
|
ruff (ANN001):
tests/io/test_cli_main.py#L56
tests/io/test_cli_main.py:56:2: ANN001 Missing type annotation for function argument `monkeypatch`
|
|
ruff (ANN001):
tests/io/test_cli_main.py#L34
tests/io/test_cli_main.py:34:2: ANN001 Missing type annotation for function argument `monkeypatch`
|
|
ruff (ANN001):
tests/conftest.py#L22
tests/conftest.py:22:18: ANN001 Missing type annotation for function argument `record`
|
|
ruff (SLF001):
licensecheck/packageinforesolver.py#L83
licensecheck/packageinforesolver.py:83:16: SLF001 Private member accessed: `_spec`
|
|
ruff (SLF001):
licensecheck/packageinforesolver.py#L82
licensecheck/packageinforesolver.py:82:24: SLF001 Private member accessed: `_specs`
|
|
ruff (ANN401):
licensecheck/models/defaultonnone.py#L9
licensecheck/models/defaultonnone.py:9:43: ANN401 Dynamically typed expressions (typing.Any) are disallowed in `default_on_none`
|
|
ruff (ANN401):
licensecheck/models/defaultonnone.py#L9
licensecheck/models/defaultonnone.py:9:35: ANN401 Dynamically typed expressions (typing.Any) are disallowed in `values`
|
|
ruff (F401):
licensecheck/license_matrix/__init__.py#L44
licensecheck/license_matrix/__init__.py:44:20: F401 `typing.Any` imported but unused
help: Remove unused import: `typing.Any`
|
|
ruff (SIM115):
licensecheck/io/cli.py#L151
licensecheck/io/cli.py:151:8: SIM115 Use a context manager for opening files
|
|
ruff (E501):
licensecheck/io/cli.py#L1
licensecheck/io/cli.py:1:101: E501 Line too long (106 > 100)
|
|
Python Test and Lint (3.12)
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@v4. Actions will be forced to run with Node.js 24 by default starting June 16th, 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/
|
|
Python Test and Lint (3.14)
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@v4. Actions will be forced to run with Node.js 24 by default starting June 16th, 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/
|
|
Python Test and Lint (3.13)
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@v4. Actions will be forced to run with Node.js 24 by default starting June 16th, 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/
|