Python/data_structures/linked_list
Caeden Perelli-Harris daa1c7529a
Raise error not string (#7945)
* ci: Add `B023` to `.flake8` ignores

* refactor: Return `bool`/raise Exception

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* revert: Remove previous branch commit

* Update data_structures/binary_tree/segment_tree_other.py

Co-authored-by: Christian Clauss <cclauss@me.com>

* feat: Apply `__repr__` changes

* chore: Fix failing tests

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update data_structures/binary_tree/segment_tree_other.py

Co-authored-by: Christian Clauss <cclauss@me.com>

* test: Fix doctests

* random.choice(population_score[:N_SELECTED])[0]

* Update basic_string.py

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Christian Clauss <cclauss@me.com>
2022-11-06 15:54:44 +01:00
..
__init__.py Add flake8-builtins to pre-commit and fix errors (#7105) 2022-10-13 19:53:59 +05:30
circular_linked_list.py Add flake8 pluin flake8 bugbear to pre-commit (#7132) 2022-10-13 18:03:06 +02:00
deque_doubly.py fix(ci): Update pre-commit hooks and apply new black (#4359) 2021-04-26 07:46:50 +02:00
doubly_linked_list_two.py Adopt Python >= 3.8 assignment expressions using auto-walrus (#7737) 2022-10-28 15:54:54 +02:00
doubly_linked_list.py Raise error not string (#7945) 2022-11-06 15:54:44 +01:00
from_sequence.py GitHub Action formats our code with psf/black (#1569) 2019-11-14 19:59:43 +01:00
has_loop.py Replace typing.optional with new annotations syntax (#5829) 2021-11-17 04:43:02 +01:00
is_palindrome.py Misc fixes across multiple algorithms (#6912) 2022-10-16 10:55:38 +05:30
merge_two_lists.py Flake8: Drop ignore of issue A003 (#7949) 2022-11-02 19:20:45 +01:00
middle_element_of_linked_list.py Add flake8 pluin flake8 bugbear to pre-commit (#7132) 2022-10-13 18:03:06 +02:00
print_reverse.py Pyupgrade to Python 3.9 (#4718) 2021-09-07 13:37:03 +02:00
singly_linked_list.py refactor: Indent ... for visual purposes (#7744) 2022-10-27 19:42:30 +02:00
skip_list.py Remove useless code in doctests (#7733) 2022-10-27 22:52:00 +02:00
swap_nodes.py Create codespell.yml (#1698) 2020-01-18 13:24:33 +01:00