[pre-commit.ci] pre-commit autoupdate #12644
Annotations
10 errors
ruff:
graphs/minimum_spanning_tree_prims2.py#L242
graphs/minimum_spanning_tree_prims2.py:242:26: C420 Unnecessary dict comprehension for iterable; use `dict.fromkeys` instead
|
ruff:
graphics/digital_differential_analyzer_line.py#L32
graphics/digital_differential_analyzer_line.py:32:44: RUF046 Value being cast to `int` is already an integer
|
ruff:
graphics/digital_differential_analyzer_line.py#L32
graphics/digital_differential_analyzer_line.py:32:29: RUF046 Value being cast to `int` is already an integer
|
ruff:
data_structures/trie/trie.py#L93
data_structures/trie/trie.py:93:13: SIM905 Consider using a list literal instead of `str.split`
|
ruff:
data_structures/trie/radix_tree.py#L220
data_structures/trie/radix_tree.py:220:13: SIM905 Consider using a list literal instead of `str.split`
|
ruff:
data_structures/trie/radix_tree.py#L195
data_structures/trie/radix_tree.py:195:13: SIM905 Consider using a list literal instead of `str.split`
|
ruff:
data_structures/arrays/sudoku_solver.py#L206
data_structures/arrays/sudoku_solver.py:206:14: C420 Unnecessary dict comprehension for iterable; use `dict.fromkeys` instead
|
ruff:
data_structures/arrays/sudoku_solver.py#L57
data_structures/arrays/sudoku_solver.py:57:14: C420 Unnecessary dict comprehension for iterable; use `dict.fromkeys` instead
|
ruff:
conversions/prefix_conversions_string.py#L71
conversions/prefix_conversions_string.py:71:21: PYI019 Use `Self` instead of custom TypeVar `T`
|
ruff:
conversions/prefix_conversions_string.py#L56
conversions/prefix_conversions_string.py:56:21: PYI019 Use `Self` instead of custom TypeVar `T`
|