Maxim Smolskiy
4f2a346c27
Reduce the complexity of linear_algebra/src/polynom_for_points.py ( #8605 )
...
* Reduce the complexity of linear_algebra/src/polynom_for_points.py
* updating DIRECTORY.md
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Fix
* Fix review issues
---------
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-08-13 03:05:42 -07:00
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
Maxim Smolskiy
db5215f60e
Reduce the complexity of linear_algebra/src/polynom_for_points.py ( #7948 )
...
* updating DIRECTORY.md
* updating DIRECTORY.md
* updating DIRECTORY.md
* Lower the --max-complexity threshold in the file .flake8
* Reduce the complexity of linear_algebra/src/polynom_for_points.py
* Update linear_algebra/src/polynom_for_points.py
Co-authored-by: Christian Clauss <cclauss@me.com>
* Update linear_algebra/src/polynom_for_points.py
Co-authored-by: Christian Clauss <cclauss@me.com>
* Fix
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Christian Clauss <cclauss@me.com>
2022-11-02 19:40:25 +01:00
Dhruv Manilawala
8c2986026b
fix(mypy): type annotations for linear algebra algorithms ( #4317 )
...
* fix(mypy): type annotations for linear algebra algorithms
* refactor: remove linear algebra directory from mypy exclude
2021-04-05 15:37:38 +02:00
Christian Clauss
9200a2e543
from __future__ import annotations ( #2464 )
...
* from __future__ import annotations
* fixup! from __future__ import annotations
* fixup! from __future__ import annotations
* fixup! Format Python code with psf/black push
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-09-23 13:30:13 +02:00
Christian Clauss
363858ef3b
hyphen_files = [file for file in filepaths if "-" in file] ( #2447 )
...
* hyphen_files = [file for file in filepaths if "-" in file]
* updating DIRECTORY.md
* Rename recursive-quick-sort.py to recursive_quick_sort.py
* updating DIRECTORY.md
* Rename aho-corasick.py to aho_corasick.py
* updating DIRECTORY.md
* Rename polynom-for-points.py to polynom_for_points.py
* updating DIRECTORY.md
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-09-19 07:13:10 +02:00