Shikhar Maheshwari
24923ee635
Add doctest to maths/numerical_analysis/intersection.py ( #12148 )
2024-12-30 13:51:10 +03:00
jperezr
2ca96b7c8e
current_stock_price test added ( #12390 )
...
* adding test to web_programming/current_stock_price
* adding test to web_programming/current_stock_price
* Update current_stock_price.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update current_stock_price.py
---------
Co-authored-by: Maxim Smolskiy <mithridatus@mail.ru>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-12-30 13:37:21 +03:00
mahdi tavasoli
68b4c6b479
fix is_ip_v4_address_valid.py ( #12394 )
...
* fix is_ip_v4_address_valid
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update is_ip_v4_address_valid.py
---------
Co-authored-by: m.tavasoli <mehdi.sherkattavasoli@basalam.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Maxim Smolskiy <mithridatus@mail.ru>
2024-12-30 13:22:20 +03:00
Maxim Smolskiy
f45e392cf6
Fix sphinx/build_docs warnings for ciphers ( #12485 )
...
* Fix sphinx/build_docs warnings for ciphers
* Fix
2024-12-30 12:56:24 +03:00
Maxim Smolskiy
94b3777936
Fix sphinx/build_docs warnings for linear_algebra ( #12483 )
...
* Fix sphinx/build_docs warnings for linear_algebra/
* [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-12-30 00:35:34 +03:00
Maxim Smolskiy
3622e940c9
Fix sphinx/build_docs warnings for other ( #12482 )
...
* Fix sphinx/build_docs warnings for other
* 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-12-29 23:31:53 +03:00
Maxim Smolskiy
ce036db213
Fix sphinx/build_docs warnings for physics/speeds_of_gas_molecules ( #12471 )
...
* Fix sphinx/build_docs warnings for physics/speeds_of_gas_molecules
* Fix
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Fix
* Fix review issue
* Fix
* Fix
* Fix
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-12-29 23:01:15 +03:00
Maxim Smolskiy
bfb0447efb
Fix sphinx/build_docs warnings for maths/zellers_congruence ( #12481 )
...
* Fix sphinx/build_docs warnings for maths/zellers_congruence
* Fix
2024-12-29 20:29:48 +03:00
pre-commit-ci[bot]
c93288389d
[pre-commit.ci] pre-commit autoupdate ( #12466 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.8.3 → v0.8.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.3...v0.8.4 )
- [github.com/pre-commit/mirrors-mypy: v1.13.0 → v1.14.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.13.0...v1.14.0 )
* Update convert_number_to_words.py
* Update convert_number_to_words.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-12-29 18:16:45 +01:00
Maxim Smolskiy
bfc804a41c
Fix sphinx/build_docs warnings for physics/newtons_second_law_of_motion ( #12480 )
...
* Fix sphinx/build_docs warnings for physics/newtons_second_law_of_motion
* Fix
* Fix
* Fix review issue
2024-12-29 18:41:28 +03:00
Sankalpa Sarkar
d9092d88dd
fixes requirements error ( #12438 )
...
* fixes join.py action
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fixes split.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Fixed two requirements
* Custom Implementation of join.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* updated join.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update split.py
* Update join.py
* Update join.py
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Maxim Smolskiy <mithridatus@mail.ru>
2024-12-29 16:53:31 +03:00
RajdeepBakolia2004
972a5c1e43
fixed the issue in strings/join.py ( #12434 )
...
* fixed the issue in strings/join.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update join.py
* Update join.py
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Maxim Smolskiy <mithridatus@mail.ru>
2024-12-29 16:35:33 +03:00
KICH Yassine
2d68bb50e5
Fix split function to handle trailing delimiters correctly ( #12423 )
...
* Fix split function to handle trailing delimiters correctly
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update split.py
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Maxim Smolskiy <mithridatus@mail.ru>
2024-12-29 14:56:36 +03:00
Andrwaa
2b58ab0402
compare-method added to Vector class in lib.py ( #12448 )
...
* compare-method added to Vector class in lib.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Updated lib.py with suggestions
* Updated lib.py with suggestions
* Updated lib.py with __eq__ method
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-12-28 03:17:48 -08:00
jperezr
1909f2272f
adding doctests to maths/trapezoidal_rule.py ( #12193 )
...
* adding doctests to trapezoidal_rule.py
* adding algorithm delta-star transformation
* updating DIRECTORY.md
* delete file star_delta_transform.py
* updating DIRECTORY.md
* modified: ../DIRECTORY.md
---------
Co-authored-by: MRJPEREZR <MRJPEREZR@users.noreply.github.com>
2024-12-28 02:03:24 -08:00
Shi Entong
d496d5611f
Remove inaccessible URL in computer_vision/README.md ( #12383 )
...
Remove inaccessible URL.
2024-12-28 01:22:07 -08:00
Joy Khandelwal
b5c8fbf2e8
Add additional doctests, fix grammatical errors for maths/perfect_number.py ( #12477 )
...
* Add additional doctests for the perfect number algorithm and fix grammatical errors. Contributes to #9943
* Added newline at End of file
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Apply suggestions from code review
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Tianyi Zheng <tianyizheng02@gmail.com>
2024-12-28 00:51:28 -08:00
Maxim Smolskiy
929b7dc057
Fix Gaussian elimination pivoting ( #11393 )
...
* updating DIRECTORY.md
* Fix Gaussian elimination pivoting
* Fix review issues
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
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-12-28 00:43:25 -08:00
Julia Aragão
1652d05e9e
adding test to electronics/electric_power.py ( #12387 )
...
* test electric_power
* Update electric_power.py
* Update electric_power.py
* Update electric_power.py
* Update electric_power.py
---------
Co-authored-by: Julia <julia.de-jesus-aragao@imt-atlantique.net>
Co-authored-by: Maxim Smolskiy <mithridatus@mail.ru>
2024-12-28 02:26:29 +03:00
Anamaria Miranda
2ae9534fc6
Added test to linear regression ( #12353 )
2024-12-28 02:03:13 +03:00
Scarfinos
76471819bd
Improve test coverage for armstrong numbers ( #12327 )
2024-12-28 01:52:40 +03:00
Scarfinos
8bbe8caa25
Improve test coverage for matrix exponentiation ( #12388 )
...
* #9943 : Adding coverage test for basic_graphs.py
* #9943 : Adding coverage test for basic_graphs.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Solve problem of line too long
* Improving coverage for matrix_exponentiation.py
* fix more than one file
* Update matrix_exponentiation.py
* Update matrix_exponentiation.py
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Maxim Smolskiy <mithridatus@mail.ru>
2024-12-28 01:40:35 +03:00
Scarfinos
5bef6ac929
Improve coverage special_numbers ( #12414 )
...
* Improve coverage bell_numbers
* improve more function
* Update hamming_numbers.py
---------
Co-authored-by: Maxim Smolskiy <mithridatus@mail.ru>
2024-12-28 01:22:36 +03:00
dependabot[bot]
eb652cf3d4
Bump astral-sh/setup-uv from 4 to 5 ( #12445 )
...
Bumps [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv ) from 4 to 5.
- [Release notes](https://github.com/astral-sh/setup-uv/releases )
- [Commits](https://github.com/astral-sh/setup-uv/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: astral-sh/setup-uv
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-28 00:18:08 +03:00
Maxim Smolskiy
ae28fa7fe3
Fix sphinx/build_docs warnings for data_structures/binary_tree/mirror_binary_tree ( #12470 )
2024-12-24 08:17:22 -05:00
Maxim Smolskiy
c36aaf0fbc
Fix sphinx/build_docs warnings for graphs/check_bipatrite ( #12469 )
...
* Fix sphinx/build_docs warnings for graphs/check_bipatrite
* Fix
2024-12-24 03:48:37 -05:00
Maxim Smolskiy
e9721aad59
Fix sphinx/build_docs warnings for physics/horizontal_projectile_motion ( #12467 )
2024-12-23 22:06:59 -05:00
Maxim Smolskiy
04fbfd6eae
Fix sphinx/build_docs warnings for maths/volume ( #12464 )
...
* Fix sphinx/build_docs warnings for maths/volume
* Fix
* Fix
* Fix
* Fix
* Fix
* Fix
* Fix
2024-12-23 19:14:11 -05:00
Maxim Smolskiy
b0cb13fea5
Fix sphinx/build_docs warnings for greedy_methods ( #12463 )
...
* updating DIRECTORY.md
* Fix sphinx/build_docs warnings for greedy_methods
* Improve
---------
Co-authored-by: MaximSmolskiy <MaximSmolskiy@users.noreply.github.com>
2024-12-23 08:11:58 -05:00
Maxim Smolskiy
c5e603ae42
Fix sphinx/build_docs warnings for geodesy ( #12462 )
...
* updating DIRECTORY.md
* Fix sphinx/build_docs warnings for geodesy/haversine_distance.py
* Improve
---------
Co-authored-by: MaximSmolskiy <MaximSmolskiy@users.noreply.github.com>
2024-12-23 07:43:16 -05:00
Maxim Smolskiy
47cd21a110
Fix sphinx/build_docs warnings for cellular_automata ( #12454 )
...
* updating DIRECTORY.md
* Fix sphinx/build_docs warnings for cellular_automata
* Fix
* Improve
---------
Co-authored-by: MaximSmolskiy <MaximSmolskiy@users.noreply.github.com>
2024-12-23 06:56:42 -05:00
Maxim Smolskiy
4abfce2791
Fix sphinx/build_docs warnings for audio_filters ( #12449 )
...
* updating DIRECTORY.md
* Fix sphinx/build_docs warnings for audio_filters
* Improve
* Fix
* Fix
* Fix
---------
Co-authored-by: MaximSmolskiy <MaximSmolskiy@users.noreply.github.com>
2024-12-22 22:55:22 -05:00
pre-commit-ci[bot]
f8e595e048
[pre-commit.ci] pre-commit autoupdate ( #12439 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.8.2 → v0.8.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.2...v0.8.3 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-12-16 20:53:36 +01:00
pre-commit-ci[bot]
98391e33ea
[pre-commit.ci] pre-commit autoupdate ( #12428 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.8.1 → v0.8.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.1...v0.8.2 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-12-12 18:40:43 +01:00
Christian Clauss
0bcdfbdb34
Use Astral uv ( #12402 )
...
* Use Astral uv
* uvx vs uv run
* uv sync --group=euler-validate,test
* uv sync --group=euler-validate --group=test
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* --group=test
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-12-05 10:04:48 +05:30
pre-commit-ci[bot]
b22fab0ea4
[pre-commit.ci] pre-commit autoupdate ( #12404 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.8.0 → v0.8.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.0...v0.8.1 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-12-02 22:35:21 +01:00
Anamaria Miranda
c792122632
Added matrix based color game algorithm ( #12400 )
...
* Added matrix based color game
* updating DIRECTORY.md
---------
Co-authored-by: Miranda13 <Miranda13@users.noreply.github.com>
2024-12-02 11:57:04 +01:00
pre-commit-ci[bot]
fc33c50593
[pre-commit.ci] pre-commit autoupdate ( #12398 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.10 → v0.5.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.10...v0.5.0 )
- [github.com/pre-commit/mirrors-mypy: v1.10.0 → v1.10.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.10.0...v1.10.1 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-11-25 21:46:20 +01:00
pre-commit-ci[bot]
f3f32ae3ca
[pre-commit.ci] pre-commit autoupdate ( #12385 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.7.3 → v0.7.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.7.3...v0.7.4 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-11-18 22:07:12 +01:00
Christian Clauss
e3bd7721c8
validate_filenames.py
Shebang python
for Windows (#12371 )
2024-11-15 14:59:14 +01:00
pre-commit-ci[bot]
e3f3d668be
[pre-commit.ci] pre-commit autoupdate ( #12370 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.7.2 → v0.7.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.7.2...v0.7.3 )
- [github.com/abravalheri/validate-pyproject: v0.22 → v0.23](https://github.com/abravalheri/validate-pyproject/compare/v0.22...v0.23 )
* Update sudoku_solver.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-11-11 21:05:50 +01:00
pre-commit-ci[bot]
3e9ca92ca9
[pre-commit.ci] pre-commit autoupdate ( #12349 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.7.1 → v0.7.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.7.1...v0.7.2 )
- [github.com/tox-dev/pyproject-fmt: v2.4.3 → v2.5.0](https://github.com/tox-dev/pyproject-fmt/compare/v2.4.3...v2.5.0 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-11-04 21:09:03 +01:00
Christian Clauss
a19bede190
Add scripts/find_git_conflicts.sh ( #12343 )
2024-11-01 13:40:09 +01:00
pre-commit-ci[bot]
52602ea5b6
[pre-commit.ci] pre-commit autoupdate ( #12313 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.7.0 → v0.7.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.7.0...v0.7.1 )
- [github.com/tox-dev/pyproject-fmt: 2.4.3 → v2.4.3](https://github.com/tox-dev/pyproject-fmt/compare/2.4.3...v2.4.3 )
- [github.com/abravalheri/validate-pyproject: v0.21 → v0.22](https://github.com/abravalheri/validate-pyproject/compare/v0.21...v0.22 )
- [github.com/pre-commit/mirrors-mypy: v1.12.1 → v1.13.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.12.1...v1.13.0 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-10-28 21:27:00 +01:00
pre-commit-ci[bot]
6e24935f88
[pre-commit.ci] pre-commit autoupdate ( #12234 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.6.9 → v0.7.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.9...v0.7.0 )
- [github.com/tox-dev/pyproject-fmt: 2.3.0 → 2.4.3](https://github.com/tox-dev/pyproject-fmt/compare/2.3.0...2.4.3 )
- [github.com/abravalheri/validate-pyproject: v0.20.2 → v0.21](https://github.com/abravalheri/validate-pyproject/compare/v0.20.2...v0.21 )
- [github.com/pre-commit/mirrors-mypy: v1.11.2 → v1.12.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.11.2...v1.12.1 )
* project_euler/problem_047/sol1.py: def solution(n: int = 4) -> int | None:
* Update sol1.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-10-22 11:22:34 +02:00
pre-commit-ci[bot]
03a42510b0
[pre-commit.ci] pre-commit autoupdate ( #12071 )
...
updates:
- [github.com/tox-dev/pyproject-fmt: 2.2.4 → 2.3.0](https://github.com/tox-dev/pyproject-fmt/compare/2.2.4...2.3.0 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-10-14 22:42:24 +02:00
Christian Clauss
e9e7c96465
Create GitHub Pages docs with Sphinx ( #11888 )
2024-10-08 19:09:28 +02:00
Jeel Rupapara
260e3d8b35
feat: add test cases in cipher's autokey ( #11881 )
2024-10-08 13:33:28 +02:00
pre-commit-ci[bot]
2d671df073
[pre-commit.ci] pre-commit autoupdate ( #11874 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.6.0...v5.0.0 )
- [github.com/astral-sh/ruff-pre-commit: v0.6.8 → v0.6.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.8...v0.6.9 )
* updating DIRECTORY.md
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <pre-commit-ci[bot]@users.noreply.github.com>
2024-10-07 22:49:29 +02:00
Lonercode
dba8eecb47
added gronsfeld cipher implementation ( #11835 )
...
* added gronsfeld cipher implementation
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* from string import ascii_uppercase
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update gronsfeld_cipher.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-10-07 11:58:07 +02:00