René's URL Explorer Experiment


Title: [Mypy] fix other/least_recently_used by spazm · Pull Request #5814 · TheAlgorithms/Python · GitHub

Open Graph Title: [Mypy] fix other/least_recently_used by spazm · Pull Request #5814 · TheAlgorithms/Python

X Title: [Mypy] fix other/least_recently_used by spazm · Pull Request #5814 · TheAlgorithms/Python

Description: All Algorithms implemented in Python. Contribute to TheAlgorithms/Python development by creating an account on GitHub.

Open Graph Description: Describe your change: fix bug in dq_removal code. Needed to pass key to .remove() rather than index. remove incorrect annotation to make the __init__ an abstract function. Annotate all functions ...

X Description: Describe your change: fix bug in dq_removal code. Needed to pass key to .remove() rather than index. remove incorrect annotation to make the __init__ an abstract function. Annotate all functions ...

Opengraph URL: https://github.com/TheAlgorithms/Python/pull/5814

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:14cecbda-2cd4-97de-5c0b-8feed5894cfc
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBAE2:102E0A:1620F3E:1DDF751:6A596276
html-safe-nonce22de788ca25051005c86853cf8a0c050a181c948eedd8e675264761db74c8dde
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQUUyOjEwMkUwQToxNjIwRjNFOjFEREY3NTE6NkE1OTYyNzYiLCJ2aXNpdG9yX2lkIjoiNTYxNDI1ODYxMjYxOTI3MjgyMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac63a05b5250239cc8639ecf0276c8fe20e75e7fdd08856cf72ae88af5d3d28418
hovercard-subject-tagpull_request:778129700
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/TheAlgorithms/Python/5814/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/791d91cb9c2d85a27d05bbf2a95848ba029f9facb89af66d736f464ba78dedf5/TheAlgorithms/Python/pull/5814
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/791d91cb9c2d85a27d05bbf2a95848ba029f9facb89af66d736f464ba78dedf5/TheAlgorithms/Python/pull/5814
og:image:altDescribe your change: fix bug in dq_removal code. Needed to pass key to .remove() rather than index. remove incorrect annotation to make the __init__ an abstract function. Annotate all functions ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamespazm
hostnamegithub.com
expected-hostnamegithub.com
Nonea540949572872b935b393b36db38922db390ae71c859537d741b8f3eb7e545b5
turbo-cache-controlno-cache
go-importgithub.com/TheAlgorithms/Python git https://github.com/TheAlgorithms/Python.git
octolytics-dimension-user_id20487725
octolytics-dimension-user_loginTheAlgorithms
octolytics-dimension-repository_id63476337
octolytics-dimension-repository_nwoTheAlgorithms/Python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id63476337
octolytics-dimension-repository_network_root_nwoTheAlgorithms/Python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef4669eb12cd81bf213b8907a42667725d1583c79
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/TheAlgorithms/Python/pull/5814#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FPython%2Fpull%2F5814
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FPython%2Fpull%2F5814
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=TheAlgorithms%2FPython
Reloadhttps://github.com/TheAlgorithms/Python/pull/5814
Reloadhttps://github.com/TheAlgorithms/Python/pull/5814
Reloadhttps://github.com/TheAlgorithms/Python/pull/5814
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/5814
TheAlgorithms https://github.com/TheAlgorithms
Pythonhttps://github.com/TheAlgorithms/Python
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/5814
Notifications https://github.com/login?return_to=%2FTheAlgorithms%2FPython
Fork 50.9k https://github.com/login?return_to=%2FTheAlgorithms%2FPython
Star 223k https://github.com/login?return_to=%2FTheAlgorithms%2FPython
Code https://github.com/TheAlgorithms/Python
Issues 141 https://github.com/TheAlgorithms/Python/issues
Pull requests 876 https://github.com/TheAlgorithms/Python/pulls
Discussions https://github.com/TheAlgorithms/Python/discussions
Actions https://github.com/TheAlgorithms/Python/actions
Projects https://github.com/TheAlgorithms/Python/projects
Wiki https://github.com/TheAlgorithms/Python/wiki
Security and quality 0 https://github.com/TheAlgorithms/Python/security
Insights https://github.com/TheAlgorithms/Python/pulse
Code https://github.com/TheAlgorithms/Python
Issues https://github.com/TheAlgorithms/Python/issues
Pull requests https://github.com/TheAlgorithms/Python/pulls
Discussions https://github.com/TheAlgorithms/Python/discussions
Actions https://github.com/TheAlgorithms/Python/actions
Projects https://github.com/TheAlgorithms/Python/projects
Wiki https://github.com/TheAlgorithms/Python/wiki
Security and quality https://github.com/TheAlgorithms/Python/security
Insights https://github.com/TheAlgorithms/Python/pulse
cclausshttps://github.com/cclauss
TheAlgorithms:masterhttps://github.com/TheAlgorithms/Python/tree/master
spazm:mypy-fix-other-least_recently_usedhttps://github.com/spazm/Python/tree/mypy-fix-other-least_recently_used
Conversationhttps://github.com/TheAlgorithms/Python/pull/5814
Commits18 (18)https://github.com/TheAlgorithms/Python/pull/5814/commits
Checkshttps://github.com/TheAlgorithms/Python/pull/5814/checks
Files changedhttps://github.com/TheAlgorithms/Python/pull/5814/files
[Mypy] fix other/least_recently_usedhttps://github.com/TheAlgorithms/Python/pull/5814#top
cclausshttps://github.com/cclauss
TheAlgorithms:masterhttps://github.com/TheAlgorithms/Python/tree/master
spazm:mypy-fix-other-least_recently_usedhttps://github.com/spazm/Python/tree/mypy-fix-other-least_recently_used
https://github.com/spazm
spazmhttps://github.com/spazm
Nov 11, 2021https://github.com/TheAlgorithms/Python/pull/5814#issue-1050454089
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/5814
#5656https://github.com/TheAlgorithms/Python/pull/5656
#4052https://github.com/TheAlgorithms/Python/issues/4052
CONTRIBUTING.mdhttps://github.com/TheAlgorithms/Python/blob/master/CONTRIBUTING.md
type hintshttps://docs.python.org/3/library/typing.html
doctestshttps://docs.python.org/3/library/doctest.html
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/5814
merge conflicts https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22merge%20conflicts%22
Nov 11, 2021https://github.com/TheAlgorithms/Python/pull/5814#event-5600780494
spazmhttps://github.com/spazm
November 10, 2021 16:34https://github.com/TheAlgorithms/Python/pull/5814#commits-pushed-7a6f9b8
https://github.com/spazm
makes LRUCache constructor concretehttps://github.com/TheAlgorithms/Python/pull/5814/commits/7a6f9b87d7666b9c0332db9a224caa46b62b0e56
7a6f9b8https://github.com/TheAlgorithms/Python/pull/5814/commits/7a6f9b87d7666b9c0332db9a224caa46b62b0e56
https://github.com/spazm
fixes bug in dq_removal in other/least_recently_usedhttps://github.com/TheAlgorithms/Python/pull/5814/commits/f95854f9ae64fa16c1591f0ef47634676e0f4166
f95854fhttps://github.com/TheAlgorithms/Python/pull/5814/commits/f95854f9ae64fa16c1591f0ef47634676e0f4166
https://github.com/spazm
[mypy] Annotates other/least_recently_used over generic typehttps://github.com/TheAlgorithms/Python/pull/5814/commits/0b1334c1196f30b46bb9ef4d27ed065dc924bb9f
0b1334chttps://github.com/TheAlgorithms/Python/pull/5814/commits/0b1334c1196f30b46bb9ef4d27ed065dc924bb9f
https://github.com/spazm
[mypy] updates example to demonstrate LRUCache with complex typehttps://github.com/TheAlgorithms/Python/pull/5814/commits/77e4209a7e9e8328279b705e280d77bee404b775
77e4209https://github.com/TheAlgorithms/Python/pull/5814/commits/77e4209a7e9e8328279b705e280d77bee404b775
https://github.com/spazm
Adds doctest to other/least_recently_usedhttps://github.com/TheAlgorithms/Python/pull/5814/commits/ec878d9f8b908a4c1fe04c186a7bb9d52066cd87
ec878d9https://github.com/TheAlgorithms/Python/pull/5814/commits/ec878d9f8b908a4c1fe04c186a7bb9d52066cd87
https://github.com/spazm
spazmhttps://github.com/spazm
force-pushedhttps://github.com/TheAlgorithms/Python/compare/045f54b93c7f1adce41bf103dc3242a165197968..ec878d9f8b908a4c1fe04c186a7bb9d52066cd87
045f54bhttps://github.com/TheAlgorithms/Python/commit/045f54b93c7f1adce41bf103dc3242a165197968
ec878d9https://github.com/TheAlgorithms/Python/commit/ec878d9f8b908a4c1fe04c186a7bb9d52066cd87
Compare https://github.com/TheAlgorithms/Python/compare/045f54b93c7f1adce41bf103dc3242a165197968..ec878d9f8b908a4c1fe04c186a7bb9d52066cd87
November 11, 2021 00:35https://github.com/TheAlgorithms/Python/pull/5814#event-5600783628
merge conflicts https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22merge%20conflicts%22
Nov 11, 2021https://github.com/TheAlgorithms/Python/pull/5814#event-5600783754
https://github.com/spazm
spazmhttps://github.com/spazm
November 11, 2021 00:35https://github.com/TheAlgorithms/Python/pull/5814#event-5600783822
awaiting reviews https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22awaiting%20reviews%22
enhancement https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3Aenhancement
Nov 11, 2021https://github.com/TheAlgorithms/Python/pull/5814#event-5600783910
https://github.com/spazm
spazmhttps://github.com/spazm
Nov 11, 2021https://github.com/TheAlgorithms/Python/pull/5814#event-5600795103
cclausshttps://github.com/cclauss
November 16, 2021 12:34https://github.com/TheAlgorithms/Python/pull/5814#commits-pushed-2fd99ca
https://github.com/cclauss
mypy.ini: Remove exclude = (other/least_recently_used.py)https://github.com/TheAlgorithms/Python/pull/5814/commits/2fd99ca9212cb76116f69d814a40fcf054890e31
2fd99cahttps://github.com/TheAlgorithms/Python/pull/5814/commits/2fd99ca9212cb76116f69d814a40fcf054890e31
https://github.com/cclauss
Various mypy configshttps://github.com/TheAlgorithms/Python/pull/5814/commits/d7cdb96d2433bfbe7ef2f1e433a49896a21b347f
d7cdb96https://github.com/TheAlgorithms/Python/pull/5814/commits/d7cdb96d2433bfbe7ef2f1e433a49896a21b347f
https://github.com/cclauss
cclausshttps://github.com/cclauss
cclausshttps://github.com/cclauss
dhruvmanilahttps://github.com/dhruvmanila
code ownershttps://github.com/TheAlgorithms/Python/blob/9b9405fdcdc5ba9fc16a53f8ae6be081d4f5582a/.github/CODEOWNERS#L10
November 16, 2021 11:42https://github.com/TheAlgorithms/Python/pull/5814#event-5624379066
cclausshttps://github.com/cclauss
November 16, 2021 12:42https://github.com/TheAlgorithms/Python/pull/5814#commits-pushed-eb9a038
https://github.com/cclauss
Delete mypy.inihttps://github.com/TheAlgorithms/Python/pull/5814/commits/eb9a038b697341b2f0458b937bd98038d1e97e1b
eb9a038https://github.com/TheAlgorithms/Python/pull/5814/commits/eb9a038b697341b2f0458b937bd98038d1e97e1b
https://github.com/cclauss
Add mypy to .pre-commit-config.yamlhttps://github.com/TheAlgorithms/Python/pull/5814/commits/e9d83aca09410e1420e5df41636739567a9cdec0
e9d83achttps://github.com/TheAlgorithms/Python/pull/5814/commits/e9d83aca09410e1420e5df41636739567a9cdec0
https://github.com/cclauss
mypy --ignore-missing-imports --install-types --non-interactive .https://github.com/TheAlgorithms/Python/pull/5814/commits/ab28a5ee9578e8693f6d7f3d20fb42fd8b8b8a02
ab28a5ehttps://github.com/TheAlgorithms/Python/pull/5814/commits/ab28a5ee9578e8693f6d7f3d20fb42fd8b8b8a02
tests are failing https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22tests%20are%20failing%22
Nov 16, 2021https://github.com/TheAlgorithms/Python/pull/5814#event-5624453824
cclausshttps://github.com/cclauss
November 16, 2021 13:02https://github.com/TheAlgorithms/Python/pull/5814#commits-pushed-14e8583
https://github.com/cclauss
mypy v0.910https://github.com/TheAlgorithms/Python/pull/5814/commits/14e8583394f4e6ee345e1fa45f86421a71b03ad7
14e8583https://github.com/TheAlgorithms/Python/pull/5814/commits/14e8583394f4e6ee345e1fa45f86421a71b03ad7
https://github.com/cclauss
Pillow=8.3.7https://github.com/TheAlgorithms/Python/pull/5814/commits/c13681402dc26706b6bc02d1bc46e25f55d9e12c
c136814https://github.com/TheAlgorithms/Python/pull/5814/commits/c13681402dc26706b6bc02d1bc46e25f55d9e12c
https://github.com/cclauss
Pillow==8.3.7https://github.com/TheAlgorithms/Python/pull/5814/commits/f7aab7d9764d220db1fc0916446074301fc9a4b4
f7aab7dhttps://github.com/TheAlgorithms/Python/pull/5814/commits/f7aab7d9764d220db1fc0916446074301fc9a4b4
https://github.com/cclauss
Pillow==8.3.2https://github.com/TheAlgorithms/Python/pull/5814/commits/17f3054f0302822d22c554479654d4df764e4eed
17f3054https://github.com/TheAlgorithms/Python/pull/5814/commits/17f3054f0302822d22c554479654d4df764e4eed
https://github.com/cclauss
Update .pre-commit-config.yamlhttps://github.com/TheAlgorithms/Python/pull/5814/commits/1a188cc9f30b0e9a0d03bf0c2911f70a7b7a8ef8
1a188cchttps://github.com/TheAlgorithms/Python/pull/5814/commits/1a188cc9f30b0e9a0d03bf0c2911f70a7b7a8ef8
https://github.com/cclauss
Update requirements.txthttps://github.com/TheAlgorithms/Python/pull/5814/commits/4b1cd7b783a9fa82bec07fa06bda67d5fdee3a6c
4b1cd7bhttps://github.com/TheAlgorithms/Python/pull/5814/commits/4b1cd7b783a9fa82bec07fa06bda67d5fdee3a6c
https://github.com/cclauss
Update pre-commit.ymlhttps://github.com/TheAlgorithms/Python/pull/5814/commits/ab109efa5e8f692ee722c4d20766f79c93ec6c12
ab109efhttps://github.com/TheAlgorithms/Python/pull/5814/commits/ab109efa5e8f692ee722c4d20766f79c93ec6c12
https://github.com/cclauss
--install-types # See mirrors-mypy README.mdhttps://github.com/TheAlgorithms/Python/pull/5814/commits/60659568314644c37a7f63188c0d76712f45dba4
6065956https://github.com/TheAlgorithms/Python/pull/5814/commits/60659568314644c37a7f63188c0d76712f45dba4
tests are failing https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22tests%20are%20failing%22
Nov 16, 2021https://github.com/TheAlgorithms/Python/pull/5814#event-5624737732
https://github.com/cclauss
cclausshttps://github.com/cclauss
Nov 16, 2021 https://github.com/TheAlgorithms/Python/pull/5814#pullrequestreview-807338384
View reviewed changes https://github.com/TheAlgorithms/Python/pull/5814/files/14e8583394f4e6ee345e1fa45f86421a71b03ad7
cclausshttps://github.com/cclauss
https://github.com/TheAlgorithms/Python/pull/5814#pullrequestreview-807338384
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/5814
https://github.com/cclauss
cclausshttps://github.com/cclauss
551c657https://github.com/TheAlgorithms/Python/commit/551c65766d1594ecd7e127ac288ed23b9e89b8c3
Nov 16, 2021https://github.com/TheAlgorithms/Python/pull/5814#event-5625205503
awaiting reviews https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3A%22awaiting%20reviews%22
Nov 16, 2021https://github.com/TheAlgorithms/Python/pull/5814#event-5625205897
https://github.co/hiddenchars
https://github.com/TheAlgorithms/Python/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FPython%2Fpull%2F5814
https://github.com/cclauss
cclauss https://github.com/cclauss
https://github.com/TheAlgorithms/Python/pull/5814/files/14e8583394f4e6ee345e1fa45f86421a71b03ad7
https://github.com/dhruvmanila
dhruvmanila https://github.com/dhruvmanila
enhancement https://github.com/TheAlgorithms/Python/issues?q=state%3Aopen%20label%3Aenhancement
[mypy] Need help to fix all mypy errors in the codebase https://github.com/TheAlgorithms/Python/issues/4052
Please reload this pagehttps://github.com/TheAlgorithms/Python/pull/5814
https://github.com/spazm
https://github.com/cclauss
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.