Python/data_structures/queue
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 __init__.py files in all the directories (#2503) 2020-09-28 19:42:36 +02:00
circular_queue_linked_list.py [mypy] fix type annotations in data_structures/queue/circular_queue_linked_list.py (#5749) 2021-11-02 11:09:46 +01:00
circular_queue.py Fix imports for all namespace packages (#2506) 2020-09-28 23:41:04 +02:00
double_ended_queue.py Raise error not string (#7945) 2022-11-06 15:54:44 +01:00
linked_queue.py refactor: Indent ... for visual purposes (#7744) 2022-10-27 19:42:30 +02:00
priority_queue_using_list.py refactor: Indent ... for visual purposes (#7744) 2022-10-27 19:42:30 +02:00
queue_on_list.py Add flake8 pluin flake8 bugbear to pre-commit (#7132) 2022-10-13 18:03:06 +02:00
queue_on_pseudo_stack.py Add flake8 pluin flake8 bugbear to pre-commit (#7132) 2022-10-13 18:03:06 +02:00