Skip to content

kruskal_algorithm problems #1 #11090

kruskal_algorithm problems #1

kruskal_algorithm problems #1 #11090

Triggered via pull request October 14, 2024 04:50
Status Failure
Total duration 15s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors
Ruff (NPY002): genetic_algorithm/ga_optimisation.py#L28
genetic_algorithm/ga_optimisation.py:28:17: NPY002 Replace legacy `np.random.uniform` call with `np.random.Generator`
Ruff (NPY002): genetic_algorithm/ga_optimisation.py#L44
genetic_algorithm/ga_optimisation.py:44:19: NPY002 Replace legacy `np.random.choice` call with `np.random.Generator`
Ruff (NPY002): genetic_algorithm/ga_optimisation.py#L53
genetic_algorithm/ga_optimisation.py:53:16: NPY002 Replace legacy `np.random.uniform` call with `np.random.Generator`
Ruff (NPY002): genetic_algorithm/ga_optimisation.py#L61
genetic_algorithm/ga_optimisation.py:61:12: NPY002 Replace legacy `np.random.rand` call with `np.random.Generator`
Ruff (NPY002): genetic_algorithm/ga_optimisation.py#L63
genetic_algorithm/ga_optimisation.py:63:20: NPY002 Replace legacy `np.random.rand` call with `np.random.Generator`
Ruff (NPY002): genetic_algorithm/ga_optimisation.py#L70
genetic_algorithm/ga_optimisation.py:70:16: NPY002 Replace legacy `np.random.rand` call with `np.random.Generator`
Ruff (NPY002): genetic_algorithm/ga_optimisation.py#L71
genetic_algorithm/ga_optimisation.py:71:34: NPY002 Replace legacy `np.random.uniform` call with `np.random.Generator`
ruff
Process completed with exit code 1.