Minha, Jeong
f8fe72dc37
Update game_of_life.py ( #4921 )
...
* Update game_of_life.py
docstring error fix
delete no reason delete next_gen_canvas code(local variable)
* Update cellular_automata/game_of_life.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: Tianyi Zheng <tianyizheng02@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-07-31 14:24:12 -07:00
Caeden Perelli-Harris
93fb169627
[Upgrade Ruff] Fix all errors raised from ruff ( #8879 )
...
* chore: Fix tests
* chore: Fix failing ruff
* chore: Fix ruff errors
* chore: Fix ruff errors
* chore: Fix ruff errors
* chore: Fix ruff errors
* chore: Fix ruff errors
* chore: Fix ruff errors
* chore: Fix ruff errors
* chore: Fix ruff errors
* chore: Fix ruff errors
* chore: Fix ruff errors
* chore: Fix ruff errors
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* chore: Fix ruff errors
* chore: Fix ruff errors
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update cellular_automata/game_of_life.py
Co-authored-by: Christian Clauss <cclauss@me.com>
* chore: Update ruff version in pre-commit
* chore: Fix ruff errors
* Update edmonds_karp_multiple_source_and_sink.py
* Update factorial.py
* Update primelib.py
* Update min_cost_string_conversion.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>
2023-07-22 12:05:10 +02:00
Pronoy Mandal
91cc3a240f
Update game_of_life.py ( #8703 )
...
Rectify spelling in docstring
2023-05-10 21:34:36 +12:00
Tianyi Zheng
cc10b20beb
Remove some print statements within algorithmic functions ( #7499 )
...
* Remove commented-out print statements in algorithmic functions
* Encapsulate non-algorithmic code in __main__
* Remove unused print_matrix function
* Remove print statement in __init__
* Remove print statement from doctest
* Encapsulate non-algorithmic code in __main__
* Modify algorithm to return instead of print
* Encapsulate non-algorithmic code in __main__
* Refactor data_safety_checker to return instead of print
* updating DIRECTORY.md
* updating DIRECTORY.md
* Apply suggestions from code review
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Christian Clauss <cclauss@me.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-10-22 13:33:51 +02:00
Erwin Junge
d924a8051b
[mypy] Add missing type annotation ( #5491 )
2021-10-22 17:45:30 +08:00
algobytewise
ce99859ad5
Move files to various folders ( #4286 )
...
* Move files to cellular_automata
* Rename other/davis–putnam–logemann–loveland.py to backtracking/davis–putnam–logemann–loveland.py
* Rename other/markov_chain.py to graphs/markov_chain.py
* undid rename: need to fix mypy first
2021-03-22 10:54:04 +01:00