update html template #8
Annotations
11 errors
|
Run ruff:
licensecheck/cli.py#L116
licensecheck/cli.py:116:8: SIM115 Use context handler for opening files
|
Run ruff:
licensecheck/get_deps.py#L65
licensecheck/get_deps.py:65:5: C901 `do_get_reqs` is too complex (29 > 10)
|
Run ruff:
licensecheck/packageinfo.py#L136
licensecheck/packageinfo.py:136:3: PERF203 `try`-`except` within a loop incurs performance overhead
|
Run ruff:
licensecheck/session.py#L1
licensecheck/session.py:1:1: D100 Missing docstring in public module
|
Run ruff:
licensecheck/types.py#L14
licensecheck/types.py:14:6: PYI034 `__new__` methods in classes like `ucstr` usually return `self` at runtime
|
Run ruff:
tests/conftest.py#L22
tests/conftest.py:22:18: ANN001 Missing type annotation for function argument `record`
|
Run ruff:
tests/test_cli.py#L23
tests/test_cli.py:23:2: ERA001 Found commented-out code
|
Run ruff:
tests/test_cli.py#L46
tests/test_cli.py:46:15: ANN001 Missing type annotation for function argument `args`
|
Run ruff:
tests/test_cli.py#L46
tests/test_cli.py:46:21: ANN001 Missing type annotation for function argument `expected_exit_code`
|
Run ruff:
tests/test_license_matrix.py#L22
tests/test_license_matrix.py:22:2: ERA001 Found commented-out code
|
Loading