Fix leap year check #12396
+1
−1
Open
Fix leap year check #12396
Annotations
10 errors
Run ruff check --output-format=github .:
cellular_automata/conways_game_of_life.py#L63
cellular_automata/conways_game_of_life.py:63:20: RUF021 Parenthesize `a and b` expressions when chaining `and` and `or` together, to make the precedence clear
|
Run ruff check --output-format=github .:
ciphers/playfair_cipher.py#L27
ciphers/playfair_cipher.py:27:47: UP043 Unnecessary default type arguments
|
Run ruff check --output-format=github .:
ciphers/simple_keyword_cypher.py#L13
ciphers/simple_keyword_cypher.py:13:25: RUF021 Parenthesize `a and b` expressions when chaining `and` and `or` together, to make the precedence clear
|
Run ruff check --output-format=github .:
ciphers/transposition_cipher.py#L57
ciphers/transposition_cipher.py:57:16: RUF021 Parenthesize `a and b` expressions when chaining `and` and `or` together, to make the precedence clear
|
Run ruff check --output-format=github .:
compression/lempel_ziv.py#L38
compression/lempel_ziv.py:38:9: PLC0206 Extracting value from dictionary without calling `.items()`
|
Run ruff check --output-format=github .:
data_structures/arrays/sudoku_solver.py#L159
data_structures/arrays/sudoku_solver.py:159:13: UP031 Use format specifiers instead of percent format
|
Run ruff check --output-format=github .:
data_structures/binary_tree/binary_tree_traversals.py#L33
data_structures/binary_tree/binary_tree_traversals.py:33:36: UP043 Unnecessary default type arguments
|
Run ruff check --output-format=github .:
data_structures/binary_tree/binary_tree_traversals.py#L46
data_structures/binary_tree/binary_tree_traversals.py:46:37: UP043 Unnecessary default type arguments
|
Run ruff check --output-format=github .:
data_structures/binary_tree/binary_tree_traversals.py#L59
data_structures/binary_tree/binary_tree_traversals.py:59:35: UP043 Unnecessary default type arguments
|
Run ruff check --output-format=github .:
data_structures/binary_tree/binary_tree_traversals.py#L72
data_structures/binary_tree/binary_tree_traversals.py:72:43: UP043 Unnecessary default type arguments
|
Loading