Python/other
Bazif Rasool 8b831cb600
Added Altitude Pressure equation (#8909)
* Added Altitude Pressure equation

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Removed trailing whitespaces

* Removed pylint

* Fix lru_cache_pythonic.py

* Fixed spellings

* Fix again lru_cache_pythonic.py

* Update .vscode/settings.json

Co-authored-by: Christian Clauss <cclauss@me.com>

* Third fix lru_cache_pythonic.py

* Update .vscode/settings.json

Co-authored-by: Christian Clauss <cclauss@me.com>

* 4th fix lru_cache_pythonic.py

* Update physics/altitude_pressure.py

Co-authored-by: Christian Clauss <cclauss@me.com>

* lru_cache_pythonic.py: def get(self, key: Any, /) -> Any | None:

* Delete lru_cache_pythonic.py

* Added positive and negative pressure test cases

* [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>
Co-authored-by: Christian Clauss <cclauss@me.com>
2023-07-30 17:00:58 +02:00
..
__init__.py Add __init__.py files in all the directories (#2503) 2020-09-28 19:42:36 +02:00
activity_selection.py pre-commit: Upgrade psf/black for stable style 2023 (#8110) 2023-02-01 18:44:54 +05:30
alternative_list_arrange.py Added alternative_list_arrange method (#4631) 2021-10-31 11:40:32 +01:00
davisb_putnamb_logemannb_loveland.py [Upgrade Ruff] Fix all errors raised from ruff (#8879) 2023-07-22 12:05:10 +02:00
dijkstra_bankers_algorithm.py from __future__ import annotations (#2464) 2020-09-23 13:30:13 +02:00
doomsday.py Add doomsday algorithm (#2903) 2020-10-07 20:22:56 +08:00
fischer_yates_shuffle.py [mypy] Fix other/fischer_yates_shuffle.py (#5789) 2021-11-07 11:14:42 +01:00
gauss_easter.py Easter date gauss algorithm (#2010) 2020-05-19 13:44:45 +02:00
graham_scan.py Make some ruff fixes (#8154) 2023-03-01 17:23:33 +01:00
greedy.py Add pep8-naming to pre-commit hooks and fixes incorrect naming conventions (#7062) 2022-10-13 00:54:20 +02:00
guess_the_number_search.py Fixes broken "Create guess_the_number_search.py" (#8746) 2023-05-17 18:47:23 +12:00
h_index.py Add h index (#8036) 2023-05-17 12:21:16 +12:00
least_recently_used.py [Mypy] fix other/least_recently_used (#5814) 2021-11-16 15:01:17 +01:00
lfu_cache.py Flake8: Drop ignore of issue A003 (#7949) 2022-11-02 19:20:45 +01:00
linear_congruential_generator.py Replace flake8 with ruff (#8184) 2023-03-16 13:31:29 +01:00
lru_cache.py Flake8: Drop ignore of issue A003 (#7949) 2022-11-02 19:20:45 +01:00
magicdiamondpattern.py Add flake8 pluin flake8 bugbear to pre-commit (#7132) 2022-10-13 18:03:06 +02:00
maximum_subsequence.py Create maximum_subsequence.py (#7811) 2023-05-11 07:00:59 +12:00
nested_brackets.py Add more ruff rules (#8767) 2023-05-26 09:34:17 +02:00
number_container_system.py Small docstring time complexity fix in number_container _system (#8875) 2023-07-22 12:34:19 +02:00
password.py clean of unnecessary checks, imports, calls (#7993) 2022-11-21 00:00:27 +13:00
quine.py Replace bandit, flake8, isort, and pyupgrade with ruff (#8178) 2023-03-15 13:58:25 +01:00
scoring_algorithm.py Add more ruff rules (#8767) 2023-05-26 09:34:17 +02:00
sdes.py pre-commit: Upgrade psf/black for stable style 2023 (#8110) 2023-02-01 18:44:54 +05:30
tower_of_hanoi.py Add pep8-naming to pre-commit hooks and fixes incorrect naming conventions (#7062) 2022-10-13 00:54:20 +02:00