Skip to content

cryptography

cryptography #11936

Triggered via pull request November 20, 2024 17:47
Status Failure
Total duration 19s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (B006): algorithms/Graph.ipynb#L4
algorithms/Graph.ipynb:1:1: B006 Do not use mutable data structures for argument defaults
Ruff (SIM118): algorithms/Graph.ipynb#L23
algorithms/Graph.ipynb:1:1: SIM118 Use `key in dict` instead of `key in dict.keys()`
Ruff (SIM118): algorithms/Graph.ipynb#L30
algorithms/Graph.ipynb:1:1: SIM118 Use `key not in dict` instead of `key not in dict.keys()`
Ruff (N802): algorithms/Graph.ipynb#L42
algorithms/Graph.ipynb:1:1: N802 Function name `get_nodeSet` should be lowercase
Ruff (N802): algorithms/Graph.ipynb#L45
algorithms/Graph.ipynb:1:1: N802 Function name `get_edgSet` should be lowercase
Ruff (N806): algorithms/Graph.ipynb#L46
algorithms/Graph.ipynb:1:1: N806 Variable `edgSet` in function should be lowercase
Ruff (SIM118): algorithms/Graph.ipynb#L47
algorithms/Graph.ipynb:1:1: SIM118 Use `key in dict` instead of `key in dict.keys()`
Ruff (C409): algorithms/Graph.ipynb#L49
algorithms/Graph.ipynb:1:1: C409 Unnecessary `list` literal passed to `tuple()` (rewrite as a `tuple` literal)
Ruff (SIM118): algorithms/Graph.ipynb#L53
algorithms/Graph.ipynb:1:1: SIM118 Use `key in dict` instead of `key in dict.keys()`
Ruff (SIM118): algorithms/Graph.ipynb#L69
algorithms/Graph.ipynb:1:1: SIM118 Use `key in dict` instead of `key in dict.keys()`