pre-commit-ci[bot]
b7d8d7f2ce
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-06-01 17:03:32 +00:00
Bill Breitmayer
c05cc652a0
Strings too long
...
Revert to old
2024-06-01 13:03:14 -04:00
pre-commit-ci[bot]
13f6fdb59f
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-06-01 16:49:01 +00:00
Bill Breitmayer
db1466309a
Fix details
...
Better comments, errors, check bit_length=0 conditions
2024-06-01 12:47:58 -04:00
Bill Breitmayer
1b582d23e8
Merge branch 'master' of https://github.com/billbreit/Python
2024-05-31 09:11:06 -04:00
Bill Breitmayer
cb65485d80
Fix Ruff error
...
Fix trailing spaces
2024-05-31 09:10:25 -04:00
pre-commit-ci[bot]
5a6275bf5e
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-05-31 13:05:27 +00:00
Bill Breitmayer
6e81a51620
Cleanup comments
...
Few typos, debugging advice
2024-05-31 09:04:55 -04:00
Bill Breitmayer
82695f895e
Clean up return types
...
Changed return type from None to Exceptions and fix doctests
2024-05-30 08:09:18 -04:00
pre-commit-ci[bot]
27aebea54f
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-05-29 16:17:15 +00:00
Bill Breitmayer
9002513e46
Fix type hint for returns
...
Fixed int | None return hints, mypy error
2024-05-29 12:16:01 -04:00
pre-commit-ci[bot]
c9d6a618dc
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-05-29 15:57:06 +00:00
Bill Breitmayer
29b6e8ff7d
Fix tabs instead of spaces in comments
...
Fixing tabs instead of spaces in comments
2024-05-29 11:56:38 -04:00
pre-commit-ci[bot]
0ef3e6b302
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-05-29 15:32:44 +00:00
Bill Breitmayer
93610d9744
Fix type hints, validation errors
...
Add type hints and fix leading spaces issues.
2024-05-29 11:31:58 -04:00
Bill Breitmayer
a471d00d75
Merge branch 'master' of https://github.com/billbreit/Python
2024-05-28 21:53:34 -04:00
Bill Breitmayer
c32638fb31
Recommit
...
Seems to be OK so far ...
2024-05-28 21:52:16 -04:00
pre-commit-ci[bot]
23956f55f3
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-05-29 01:51:07 +00:00
Bill Breitmayer
01be0441d6
Struggling
...
Is it or isn't it ?
2024-05-28 21:49:27 -04:00
Bill Breitmayer
3d1342e385
Merge branch 'master' of https://github.com/billbreit/Python
2024-05-28 21:43:50 -04:00
Bill Breitmayer
b501f227f5
Fix Ruff formatting
...
Blank lines with spaces, trailing spaces at end of line, etc.
2024-05-28 20:14:29 -04:00
pre-commit-ci[bot]
305f4449b8
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-05-28 23:44:12 +00:00
Bill Breitmayer
bb46e1af8b
Fix errrors in multibit_manipulation
...
Few typos, doctest error
2024-05-28 10:07:21 -04:00
Bill Breitmayer
c7d91359da
Create multibit_manipulation.py
2024-05-27 20:41:41 -04:00
pre-commit-ci[bot]
0139143abb
[pre-commit.ci] pre-commit autoupdate ( #11408 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/tox-dev/pyproject-fmt: 2.0.4 → 2.1.1](https://github.com/tox-dev/pyproject-fmt/compare/2.0.4...2.1.1 )
- [github.com/abravalheri/validate-pyproject: v0.17 → v0.18](https://github.com/abravalheri/validate-pyproject/compare/v0.17...v0.18 )
* [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-05-20 22:44:57 +02:00
pre-commit-ci[bot]
1f368da06d
[pre-commit.ci] pre-commit autoupdate ( #11402 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.3 → v0.4.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.3...v0.4.4 )
- [github.com/tox-dev/pyproject-fmt: 1.8.0 → 2.0.4](https://github.com/tox-dev/pyproject-fmt/compare/1.8.0...2.0.4 )
- [github.com/abravalheri/validate-pyproject: v0.16 → v0.17](https://github.com/abravalheri/validate-pyproject/compare/v0.16...v0.17 )
* [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-05-14 13:38:55 +02:00
Maxim Smolskiy
c599f6c910
Fix some SIM114 per file ignores ( #11395 )
...
* updating DIRECTORY.md
* Fix some SIM114 per file ignores
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Fix review issue
---------
Co-authored-by: MaximSmolskiy <MaximSmolskiy@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-05-10 21:59:53 +02:00
pre-commit-ci[bot]
1868c0b637
[pre-commit.ci] pre-commit autoupdate ( #11394 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.2 → v0.4.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.2...v0.4.3 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-05-06 21:38:58 +02:00
Xuehai Pan
ea53051576
Use spawn
start method in multiprocessing programs ( #11391 )
...
* Use `spawn` start method in multiprocessing programs
* Set `spawn` start method in doctest
* Use `with` statement for locks
* Pass multiprocessing context explicitly
2024-05-02 18:43:59 +02:00
Maxim Smolskiy
5131e3145d
Fix some ARG002 per file ignores ( #11382 )
...
* Fix some ARG002 per file ignores
* Fix
* updating DIRECTORY.md
* Fix review issue
* Fix review issue
---------
Co-authored-by: MaximSmolskiy <MaximSmolskiy@users.noreply.github.com>
2024-05-01 21:27:59 +02:00
Margaret
c026b1952f
adding a matrix equalization algorithm ( #11360 )
...
* adding a matrix equalization algorithm
* Adding url for more details
* Implementing suggestions
2024-05-01 12:42:54 +02:00
pre-commit-ci[bot]
a7e0b141d8
[pre-commit.ci] pre-commit autoupdate ( #11387 )
...
updates:
- [github.com/MarcoGorelli/auto-walrus: 0.3.3 → 0.3.4](https://github.com/MarcoGorelli/auto-walrus/compare/0.3.3...0.3.4 )
- [github.com/astral-sh/ruff-pre-commit: v0.4.1 → v0.4.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.1...v0.4.2 )
- [github.com/pre-commit/mirrors-mypy: v1.9.0 → v1.10.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.9.0...v1.10.0 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-04-30 06:58:03 +02:00
Maxim Smolskiy
2d6be5fbb0
Enable ruff UP031 rule ( #11388 )
2024-04-30 06:40:26 +02:00
Maxim Smolskiy
3925b8155b
Fix ARG005 per file ignore ( #11383 )
2024-04-24 06:32:25 +02:00
Maxim Smolskiy
d016fda51c
Enable ruff RUF003 rule ( #11376 )
...
* Enable ruff RUF003 rule
* Update pyproject.toml
---------
Co-authored-by: Christian Clauss <cclauss@me.com>
2024-04-22 21:56:14 +02:00
Maxim Smolskiy
4700297b3e
Enable ruff RUF002 rule ( #11377 )
...
* Enable ruff RUF002 rule
* Fix
---------
Co-authored-by: Christian Clauss <cclauss@me.com>
2024-04-22 21:51:47 +02:00
Maxim Smolskiy
79dc7c97ac
Enable ruff RUF001 rule ( #11378 )
...
* Enable ruff RUF001 rule
* Fix
* Fix
2024-04-22 21:45:24 +02:00
pre-commit-ci[bot]
dbfa21813f
[pre-commit.ci] pre-commit autoupdate ( #11380 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.3.7 → v0.4.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.3.7...v0.4.1 )
- [github.com/tox-dev/pyproject-fmt: 1.7.0 → 1.8.0](https://github.com/tox-dev/pyproject-fmt/compare/1.7.0...1.8.0 )
* from keras import layers, models
* Update lstm_prediction.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>
2024-04-22 21:43:19 +02:00
Maxim Smolskiy
2702bf9400
Enable ruff S113 rule ( #11375 )
...
* Enable ruff S113 rule
* [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-04-21 19:34:18 +02:00
Maxim Smolskiy
7b88e15b1c
Enable ruff RUF007 rule ( #11349 )
...
* Enable ruff RUF005 rule
* Enable ruff RUF007 rule
* Fix
* Fix
* Fix
* Update sorts/bead_sort.py
Co-authored-by: Christian Clauss <cclauss@me.com>
* Update sorts/bead_sort.py
* Revert "Update sorts/bead_sort.py"
This reverts commit b10e5632e4
.
* Revert "Update sorts/bead_sort.py"
This reverts commit 2c1816bf10
.
* Update sorts/bead_sort.py
---------
Co-authored-by: Christian Clauss <cclauss@me.com>
2024-04-20 16:20:27 +02:00
Kelvin
42593489d9
Add doctests in all functions in basic_string.py ( #11374 )
...
* Add doctests in all functions in basic_string.py
* Revert back to original basic_string.py
* Add doctest in basic_string.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update genetic_algorithm/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>
2024-04-20 12:50:37 +02:00
Maxim Smolskiy
a42eb35702
Enable ruff E741 rule ( #11370 )
...
* Enable ruff E741 rule
* [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-04-19 21:30:22 +02:00
pre-commit-ci[bot]
0a9a860eb1
[pre-commit.ci] pre-commit autoupdate ( #11364 )
...
updates:
- [github.com/MarcoGorelli/auto-walrus: v0.2.2 → 0.3.3](https://github.com/MarcoGorelli/auto-walrus/compare/v0.2.2...0.3.3 )
- [github.com/astral-sh/ruff-pre-commit: v0.3.5 → v0.3.7](https://github.com/astral-sh/ruff-pre-commit/compare/v0.3.5...v0.3.7 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-04-15 22:21:33 +02:00
pre-commit-ci[bot]
14ca726951
[pre-commit.ci] pre-commit autoupdate ( #11355 )
...
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v4.6.0 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-04-09 07:23:51 +02:00
Jiayou Qin
9e55c9d984
Added documentations ( #11352 )
...
* Added documentations
* Update data_structures/queue/circular_queue.py
---------
Co-authored-by: Christian Clauss <cclauss@me.com>
2024-04-08 13:35:22 +02:00
Maxim Smolskiy
cc2f5b1308
Do not fix ruff EXE001 rule ( #11350 )
...
* Do not fix ruff EXE001 rule
* Fix
2024-04-08 13:22:54 +02:00
Maxim Smolskiy
53b2926704
Enable ruff PGH003 rule ( #11345 )
...
* Enable ruff PGH003 rule
* Fix
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Fix
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-04-02 21:29:34 +02:00
Maxim Smolskiy
f5bbea3776
Enable ruff RUF005 rule ( #11344 )
2024-04-02 21:18:47 +02:00
Maxim Smolskiy
f437f92279
Enable ruff INP001 rule ( #11346 )
...
* Enable ruff INP001 rule
* Fix
* Fix
* Fix
* Fix
* Fix
2024-04-02 21:13:56 +02:00
Maxim Smolskiy
f8cdb3e948
Enable ruff S105 rule ( #11343 )
...
* Enable ruff S105 rule
* Update web_programming/recaptcha_verification.py
---------
Co-authored-by: Christian Clauss <cclauss@me.com>
2024-04-02 18:44:37 +02:00