Maxim Smolskiy
39daaf8248
Enable ruff RUF100 rule ( #11337 )
2024-04-01 21:36:41 +02:00
pre-commit-ci[bot]
bc8df6de31
[pre-commit.ci] pre-commit autoupdate ( #11322 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.2.2 → v0.3.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.2.2...v0.3.2 )
- [github.com/pre-commit/mirrors-mypy: v1.8.0 → v1.9.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.8.0...v1.9.0 )
* [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>
2024-03-13 07:52:41 +01:00
Christian Clauss
08c2245705
Upgrade to flake8 v6 ( #8007 )
...
* Upgrade to flake8 v6
* updating DIRECTORY.md
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2022-11-29 16:56:41 +01:00
Andrey
584e743422
Fix yesqa hook ( #7843 )
...
* fix yesqa hook
* Remove redundant noqa
* updating DIRECTORY.md
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2022-10-29 15:07:02 +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
678535b5c8
[mypy] Fix type annotations in non_recursive_segment_tree ( #5652 )
2021-10-30 21:43:48 +02:00
CarsonHam
61f3119467
Change occurrences of str.format to f-strings ( #4118 )
...
* f-string update rsa_cipher.py
* f-string update rsa_key_generator.py
* f-string update burrows_wheeler.py
* f-string update non_recursive_segment_tree.py
* f-string update red_black_tree.py
* f-string update deque_doubly.py
* f-string update climbing_stairs.py
* f-string update iterating_through_submasks.py
* f-string update knn_sklearn.py
* f-string update 3n_plus_1.py
* f-string update quadratic_equations_complex_numbers.py
* f-string update nth_fibonacci_using_matrix_exponentiation.py
* f-string update sherman_morrison.py
* f-string update levenshtein_distance.py
* fix lines that were too long
2021-02-23 11:23:49 +05:30
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
5f4da5d616
isort --profile black . ( #2181 )
...
* updating DIRECTORY.md
* isort --profile black .
* Black after
* updating DIRECTORY.md
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-07-06 09:44:19 +02:00
Christian Clauss
1f8a21d727
Tighten up psf/black and flake8 ( #2024 )
...
* Tighten up psf/black and flake8
* Fix some tests
* Fix some E741
* Fix some E741
* updating DIRECTORY.md
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-05-22 08:10:11 +02:00
Jonathan Alberth Quispe Fuentes
7bc0462e79
Non-recursive Segment Tree implementation ( #1543 )
...
* Non-recursive Segment Tree implementation
* Added type hints and explanations links
2019-11-01 04:00:46 +01:00