UniProt Parser Refactor – Improved Modularity, Identifier Extraction, and Test Coverage #294
tests.yml
on: pull_request
Check code formatting
38s
Matrix: tests
Annotations
12 errors
|
Ruff (TRY003):
src/cdm_data_loader_utils/parsers/checkm2.py#L20
src/cdm_data_loader_utils/parsers/checkm2.py:20:23: TRY003 Avoid specifying long messages outside the exception class
|
|
Ruff (TRY301):
src/cdm_data_loader_utils/parsers/checkm2.py#L20
src/cdm_data_loader_utils/parsers/checkm2.py:20:17: TRY301 Abstract `raise` to an inner function
|
|
Ruff (D102):
src/cdm_data_loader_utils/model/feature.py#L18
src/cdm_data_loader_utils/model/feature.py:18:9: D102 Missing docstring in public method
|
|
Ruff (ANN001):
src/cdm_data_loader_utils/model/feature.py#L10
src/cdm_data_loader_utils/model/feature.py:10:9: ANN001 Missing type annotation for function argument `aliases`
|
|
Ruff (D107):
src/cdm_data_loader_utils/model/feature.py#L5
src/cdm_data_loader_utils/model/feature.py:5:9: D107 Missing docstring in `__init__`
|
|
Ruff (D101):
src/cdm_data_loader_utils/model/feature.py#L4
src/cdm_data_loader_utils/model/feature.py:4:7: D101 Missing docstring in public class
|
|
Ruff (INP001):
src/cdm_data_loader_utils/model/feature.py#L1
src/cdm_data_loader_utils/model/feature.py:1:1: INP001 File `src/cdm_data_loader_utils/model/feature.py` is part of an implicit namespace package. Add an `__init__.py`.
|
|
Ruff (BLE001):
scripts/parse_index.py#L33
scripts/parse_index.py:33:12: BLE001 Do not catch blind exception: `Exception`
|
|
Ruff (PLR2004):
scripts/parse_index.py#L22
scripts/parse_index.py:22:24: PLR2004 Magic value used in comparison, consider replacing `3` with a constant variable
|
|
Ruff (INP001):
scripts/parse_index.py#L1
scripts/parse_index.py:1:1: INP001 File `scripts/parse_index.py` is part of an implicit namespace package. Add an `__init__.py`.
|
|
Run local tests (3.13, ubuntu-24.04)
Process completed with exit code 1.
|
|
Run container tests
Process completed with exit code 1.
|