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 |
|