Skip to content

Add adjacency representation generator for closed Hamiltonian tours #15751

Add adjacency representation generator for closed Hamiltonian tours

Add adjacency representation generator for closed Hamiltonian tours #15751

Triggered via pull request October 21, 2025 10:44
Status Failure
Total duration 17s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors
ruff
Process completed with exit code 1.
Ruff (W292): genetic_algorithm/adjacency_representation.py#L72
genetic_algorithm/adjacency_representation.py:72:31: W292 No newline at end of file
Ruff (UP006): genetic_algorithm/adjacency_representation.py#L51
genetic_algorithm/adjacency_representation.py:51:20: UP006 Use `dict` instead of `Dict` for type annotation
Ruff (UP006): genetic_algorithm/adjacency_representation.py#L21
genetic_algorithm/adjacency_representation.py:21:67: UP006 Use `list` instead of `List` for type annotation
Ruff (UP006): genetic_algorithm/adjacency_representation.py#L21
genetic_algorithm/adjacency_representation.py:21:53: UP006 Use `list` instead of `List` for type annotation
Ruff (UP006): genetic_algorithm/adjacency_representation.py#L21
genetic_algorithm/adjacency_representation.py:21:35: UP006 Use `list` instead of `List` for type annotation
Ruff (I001): genetic_algorithm/adjacency_representation.py#L18
genetic_algorithm/adjacency_representation.py:18:1: I001 Import block is un-sorted or un-formatted
Ruff (UP035): genetic_algorithm/adjacency_representation.py#L18
genetic_algorithm/adjacency_representation.py:18:1: UP035 `typing.Dict` is deprecated, use `dict` instead
Ruff (UP035): genetic_algorithm/adjacency_representation.py#L18
genetic_algorithm/adjacency_representation.py:18:1: UP035 `typing.List` is deprecated, use `list` instead