pre-commit-ci[bot]
|
c9ee6ed188
|
[pre-commit.ci] pre-commit autoupdate (#8853)
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.0.275 → v0.0.276](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.275...v0.0.276)
* Update double_ended_queue.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update double_ended_queue.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-04 00:20:35 +02:00 |
|
Linus M. Henkel
|
5b0890bd83
|
Dijkstra algorithm with binary grid (#8802)
* Create TestShiva
* Delete TestShiva
* Implementation of the Dijkstra-Algorithm in a binary grid
* Update double_ended_queue.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update least_common_multiple.py
* Update sol1.py
* Update pyproject.toml
* Update pyproject.toml
* https://github.com/astral-sh/ruff-pre-commit v0.0.274
---------
Co-authored-by: ShivaDahal99 <130563462+ShivaDahal99@users.noreply.github.com>
Co-authored-by: jlhuhn <134317018+jlhuhn@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>
|
2023-06-22 13:49:09 +02: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 |
|
Christian Clauss
|
45b3383c39
|
Flake8: Drop ignore of issue A003 (#7949)
* Flake8: Drop ignore of issue A003
* updating DIRECTORY.md
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
|
2022-11-02 19:20:45 +01:00 |
|
Caeden
|
d5a9f649b8
|
Add flake8-builtins to pre-commit and fix errors (#7105)
Ignore `A003`
Co-authored-by: Christian Clauss <cclauss@me.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com>
|
2022-10-13 19:53:59 +05:30 |
|
pre-commit-ci[bot]
|
756bb268eb
|
[pre-commit.ci] pre-commit autoupdate (#6629)
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 22.6.0 → 22.8.0](https://github.com/psf/black/compare/22.6.0...22.8.0)
- [github.com/asottile/pyupgrade: v2.37.0 → v2.38.2](https://github.com/asottile/pyupgrade/compare/v2.37.0...v2.38.2)
- https://gitlab.com/pycqa/flake8 → https://github.com/PyCQA/flake8
- [github.com/PyCQA/flake8: 3.9.2 → 5.0.4](https://github.com/PyCQA/flake8/compare/3.9.2...5.0.4)
- [github.com/pre-commit/mirrors-mypy: v0.961 → v0.981](https://github.com/pre-commit/mirrors-mypy/compare/v0.961...v0.981)
- [github.com/codespell-project/codespell: v2.1.0 → v2.2.1](https://github.com/codespell-project/codespell/compare/v2.1.0...v2.2.1)
* Fix a long line
* Update sol1.py
* Update sol1.py
* lambda_
* Update multi_level_feedback_queue.py
* Update double_ended_queue.py
* Update sequential_minimum_optimization.py
* Update .pre-commit-config.yaml
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-10-03 22:00:45 +02:00 |
|
Christian Clauss
|
b75a7c77f8
|
pre-commit autoupdate: pyupgrade v2.34.0 -> v2.37.0 (#6245)
* pre-commit autoupdate: pyupgrade v2.34.0 -> v2.37.0
* pre-commit run --all-files
|
2022-07-11 10:19:52 +02:00 |
|
Dylan Buchi
|
8285913e81
|
[mypy] Fix and add type annotations (#5618)
|
2021-10-27 11:45:33 +08:00 |
|
Benjamín García Roqués
|
2e955aea46
|
Replace double_ended_queue.py (#5429)
* Add deque_from_scratch.py
* added deque_from_scratch.py
* add extend, extendleft and make comparison
* updated operations list
* fix doctest on Deque.__iter__
* pre-commit fix
* time complexity comments, change type hints
* pre-commit fix
* added more doctests
|
2021-10-21 11:38:04 +08:00 |
|
William Zhang
|
9eac17a408
|
psf/black code formatting (#1277)
|
2019-10-05 10:14:13 +05:00 |
|
yijoonsu
|
189b350312
|
Deque (#1200)
* deque add pop
* deque add remove
|
2019-09-30 16:27:41 +02:00 |
|
Christian Clauss
|
47a9ea2b0b
|
Simplify code by dropping support for legacy Python (#1143)
* Simplify code by dropping support for legacy Python
* sort() --> sorted()
|
2019-08-19 15:37:49 +02:00 |
|
Christian Clauss
|
89acf5d017
|
print() is a function just like every other function (#1101)
* print() is a function just like every other function
|
2019-08-06 12:14:23 +02:00 |
|
Anup Kumar Panwar
|
71be23999c
|
refactor
|
2019-05-26 21:56:10 +05:30 |
|