Python/data_structures/binary_tree
Christian Clauss c909da9b08
pre-commit: Upgrade psf/black for stable style 2023 (#8110)
* pre-commit: Upgrade psf/black for stable style 2023

Updating https://github.com/psf/black ... updating 22.12.0 -> 23.1.0 for their `2023 stable style`.
* https://github.com/psf/black/blob/main/CHANGES.md#2310

> This is the first [psf/black] release of 2023, and following our stability policy, it comes with a number of improvements to our stable style…

Also, add https://github.com/tox-dev/pyproject-fmt and https://github.com/abravalheri/validate-pyproject to pre-commit.

I only modified `.pre-commit-config.yaml` and all other files were modified by pre-commit.ci and psf/black.

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

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

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-02-01 18:44:54 +05:30
..
__init__.py Add __init__.py files in all the directories (#2503) 2020-09-28 19:42:36 +02:00
avl_tree.py Add flake8-builtins to pre-commit and fix errors (#7105) 2022-10-13 19:53:59 +05:30
basic_binary_tree.py Pyupgrade to Python 3.9 (#4718) 2021-09-07 13:37:03 +02:00
binary_search_tree_recursive.py Add flake8 pluin flake8 bugbear to pre-commit (#7132) 2022-10-13 18:03:06 +02:00
binary_search_tree.py refactor: Indent ... for visual purposes (#7744) 2022-10-27 19:42:30 +02:00
binary_tree_mirror.py refactor: Indent ... for visual purposes (#7744) 2022-10-27 19:42:30 +02:00
binary_tree_node_sum.py feat: Binary tree node sum (#7020) (#7162) 2022-10-15 14:58:09 +02:00
binary_tree_path_sum.py Binary tree path sum (#7748) 2022-10-27 23:03:01 +02:00
binary_tree_traversals.md docs: Fix quicksort & binary tree traversal doc (#4878) 2022-04-29 01:05:21 +08:00
binary_tree_traversals.py pre-commit: Upgrade psf/black for stable style 2023 (#8110) 2023-02-01 18:44:54 +05:30
diff_views_of_binary_tree.py [Binary Tree] Different views of binary tree added (#6965) 2022-10-17 22:30:01 +02:00
distribute_coins.py add distribute coins (#7975) 2022-11-10 15:49:38 +13:00
fenwick_tree.py fix: no implicit optional (#7984) 2022-11-15 14:55:14 +01:00
inorder_tree_traversal_2022.py pre-commit: Upgrade psf/black for stable style 2023 (#8110) 2023-02-01 18:44:54 +05:30
is_bst.py add algorithm to check binary search tree (#7947) 2022-11-03 21:03:37 +01:00
lazy_segment_tree.py Add pep8-naming to pre-commit hooks and fixes incorrect naming conventions (#7062) 2022-10-13 00:54:20 +02:00
lowest_common_ancestor.py [mypy] Fix type annotations in data_structures/binary_tree/lowest_common_ancestor.py (#5757) 2021-11-03 21:34:08 +01:00
maximum_fenwick_tree.py Fix Max Fenwick Tree (#6328) 2022-09-14 09:24:55 +01:00
merge_two_binary_trees.py Add pyupgrade to pre-commit (#5638) 2021-10-28 16:45:59 +02:00
non_recursive_segment_tree.py Upgrade to flake8 v6 (#8007) 2022-11-29 16:56:41 +01:00
number_of_possible_binary_trees.py refactor: Indent ... for visual purposes (#7744) 2022-10-27 19:42:30 +02:00
red_black_tree.py pre-commit autoupdate: pyupgrade v2.34.0 -> v2.37.0 (#6245) 2022-07-11 10:19:52 +02:00
segment_tree_other.py Raise error not string (#7945) 2022-11-06 15:54:44 +01:00
segment_tree.py Upgrade to flake8 v6 (#8007) 2022-11-29 16:56:41 +01:00
treap.py Add pep8-naming to pre-commit hooks and fixes incorrect naming conventions (#7062) 2022-10-13 00:54:20 +02:00
wavelet_tree.py Raise error not string (#7945) 2022-11-06 15:54:44 +01:00