René's URL Explorer Experiment


Title: More mypy by patkan · Pull Request #612 · python-escpos/python-escpos · GitHub

Open Graph Title: More mypy by patkan · Pull Request #612 · python-escpos/python-escpos

X Title: More mypy by patkan · Pull Request #612 · python-escpos/python-escpos

Description: Python library to manipulate ESC/POS printers. Contribute to python-escpos/python-escpos development by creating an account on GitHub.

Open Graph Description: Description Add some more mypy type annotations. Tested with If applicable, please describe with which device you have tested.

X Description: Description Add some more mypy type annotations. Tested with If applicable, please describe with which device you have tested.

Opengraph URL: https://github.com/python-escpos/python-escpos/pull/612

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:14fe4d8e-e87e-6257-a88e-a595b1bd7a95
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEAFE:372BA:717F5D:99D69D:6A4D690E
html-safe-noncea48137b91df5e369e16a9eb3429d7083544e93076a7a5fc0ec654f025434cbde
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQUZFOjM3MkJBOjcxN0Y1RDo5OUQ2OUQ6NkE0RDY5MEUiLCJ2aXNpdG9yX2lkIjoiMTY3MDM0NzUyMDg5MzM0ODExMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacdef93dd073329378ff4dc32340922965d9b8089530721e018210a1e506feb1c6
hovercard-subject-tagpull_request:1647121132
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/python-escpos/python-escpos/612/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/b15d27db2df26fe7ce650d53ddbb74d529253f3d2c82da18a6f8c82d6bc51c18/python-escpos/python-escpos/pull/612
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b15d27db2df26fe7ce650d53ddbb74d529253f3d2c82da18a6f8c82d6bc51c18/python-escpos/python-escpos/pull/612
og:image:altDescription Add some more mypy type annotations. Tested with If applicable, please describe with which device you have tested.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepatkan
hostnamegithub.com
expected-hostnamegithub.com
None7db3950e3f59095e20a9789440c3dd554efc62d434882ead06ae05b5815605b9
turbo-cache-controlno-cache
go-importgithub.com/python-escpos/python-escpos git https://github.com/python-escpos/python-escpos.git
octolytics-dimension-user_id16302939
octolytics-dimension-user_loginpython-escpos
octolytics-dimension-repository_id32363483
octolytics-dimension-repository_nwopython-escpos/python-escpos
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id32363483
octolytics-dimension-repository_network_root_nwopython-escpos/python-escpos
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
releasecd8f6a71db61d6012a0cbb134be844fdbe9b8a45
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-escpos/python-escpos/pull/612#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-escpos%2Fpython-escpos%2Fpull%2F612
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/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/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/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%2Fpython-escpos%2Fpython-escpos%2Fpull%2F612
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=python-escpos%2Fpython-escpos
Reloadhttps://github.com/python-escpos/python-escpos/pull/612
Reloadhttps://github.com/python-escpos/python-escpos/pull/612
Reloadhttps://github.com/python-escpos/python-escpos/pull/612
Please reload this pagehttps://github.com/python-escpos/python-escpos/pull/612
python-escpos https://github.com/python-escpos
python-escposhttps://github.com/python-escpos/python-escpos
Notifications https://github.com/login?return_to=%2Fpython-escpos%2Fpython-escpos
Fork 312 https://github.com/login?return_to=%2Fpython-escpos%2Fpython-escpos
Star 1.3k https://github.com/login?return_to=%2Fpython-escpos%2Fpython-escpos
Code https://github.com/python-escpos/python-escpos
Issues 63 https://github.com/python-escpos/python-escpos/issues
Pull requests 24 https://github.com/python-escpos/python-escpos/pulls
Discussions https://github.com/python-escpos/python-escpos/discussions
Actions https://github.com/python-escpos/python-escpos/actions
Projects https://github.com/python-escpos/python-escpos/projects
Security and quality 0 https://github.com/python-escpos/python-escpos/security
Insights https://github.com/python-escpos/python-escpos/pulse
Code https://github.com/python-escpos/python-escpos
Issues https://github.com/python-escpos/python-escpos/issues
Pull requests https://github.com/python-escpos/python-escpos/pulls
Discussions https://github.com/python-escpos/python-escpos/discussions
Actions https://github.com/python-escpos/python-escpos/actions
Projects https://github.com/python-escpos/python-escpos/projects
Security and quality https://github.com/python-escpos/python-escpos/security
Insights https://github.com/python-escpos/python-escpos/pulse
patkanhttps://github.com/patkan
masterhttps://github.com/python-escpos/python-escpos/tree/master
more-mypyhttps://github.com/python-escpos/python-escpos/tree/more-mypy
Conversationhttps://github.com/python-escpos/python-escpos/pull/612
Commits6 (6)https://github.com/python-escpos/python-escpos/pull/612/commits
Checkshttps://github.com/python-escpos/python-escpos/pull/612/checks
Files changedhttps://github.com/python-escpos/python-escpos/pull/612/files
More mypyhttps://github.com/python-escpos/python-escpos/pull/612#top
patkanhttps://github.com/patkan
masterhttps://github.com/python-escpos/python-escpos/tree/master
more-mypyhttps://github.com/python-escpos/python-escpos/tree/more-mypy
https://github.com/patkan
patkanhttps://github.com/patkan
Dec 16, 2023https://github.com/python-escpos/python-escpos/pull/612#issue-2044974614
Please reload this pagehttps://github.com/python-escpos/python-escpos/pull/612
patkanhttps://github.com/patkan
December 16, 2023 22:10https://github.com/python-escpos/python-escpos/pull/612#commits-pushed-de8cf00
https://github.com/patkan
remove type comment where type is annotatedhttps://github.com/python-escpos/python-escpos/pull/612/commits/de8cf0086f541b100be3151391dc76195300d44b
de8cf00https://github.com/python-escpos/python-escpos/pull/612/commits/de8cf0086f541b100be3151391dc76195300d44b
https://github.com/patkan
move function testshttps://github.com/python-escpos/python-escpos/pull/612/commits/053087e25374618ef7e5124ffc61eada2205971b
053087ehttps://github.com/python-escpos/python-escpos/pull/612/commits/053087e25374618ef7e5124ffc61eada2205971b
https://github.com/patkan
remove six from testshttps://github.com/python-escpos/python-escpos/pull/612/commits/6831ae0a44b37c083678916ab8e22dfc4e1fdb6a
6831ae0https://github.com/python-escpos/python-escpos/pull/612/commits/6831ae0a44b37c083678916ab8e22dfc4e1fdb6a
https://github.com/patkan
add none annotationshttps://github.com/python-escpos/python-escpos/pull/612/commits/125a0786304addf04ff75d43ed8cd1cfa98a830f
125a078https://github.com/python-escpos/python-escpos/pull/612/commits/125a0786304addf04ff75d43ed8cd1cfa98a830f
https://github.com/patkan
add more typeshttps://github.com/python-escpos/python-escpos/pull/612/commits/f0b77c95c8cfc4c5f5166b3a2942bf9cf425a53e
f0b77c9https://github.com/python-escpos/python-escpos/pull/612/commits/f0b77c95c8cfc4c5f5166b3a2942bf9cf425a53e
https://github.com/patkan
change mock (so that mypy understands it)https://github.com/python-escpos/python-escpos/pull/612/commits/dc1bfcbfd72e764e59a353b4bb2878fa0a29d16e
dc1bfcbhttps://github.com/python-escpos/python-escpos/pull/612/commits/dc1bfcbfd72e764e59a353b4bb2878fa0a29d16e
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
Dec 16, 2023https://github.com/python-escpos/python-escpos/pull/612#issuecomment-1858940452
Please reload this pagehttps://github.com/python-escpos/python-escpos/pull/612
Codecovhttps://app.codecov.io/gh/python-escpos/python-escpos/pull/612?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-escpos
#612https://app.codecov.io/gh/python-escpos/python-escpos/pull/612?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-escpos
dc1bfcbhttps://github.com/python-escpos/python-escpos/commit/dc1bfcbfd72e764e59a353b4bb2878fa0a29d16e
masterhttps://app.codecov.io/gh/python-escpos/python-escpos/commit/66a2e78e16bfe419fda43403b4e75dfbc6c1d4c8?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-escpos
66a2e78https://github.com/python-escpos/python-escpos/commit/66a2e78e16bfe419fda43403b4e75dfbc6c1d4c8
Flaghttps://app.codecov.io/gh/python-escpos/python-escpos/pull/612/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-escpos
unittestshttps://app.codecov.io/gh/python-escpos/python-escpos/pull/612/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-escpos
Click herehttps://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-escpos#carryforward-flags-in-the-pull-request-comment
Fileshttps://app.codecov.io/gh/python-escpos/python-escpos/pull/612?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-escpos
src/escpos/cli.pyhttps://app.codecov.io/gh/python-escpos/python-escpos/pull/612?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-escpos#diff-c3JjL2VzY3Bvcy9jbGkucHk=
Please reload this pagehttps://github.com/python-escpos/python-escpos/pull/612
https://github.com/patkan
patkanhttps://github.com/patkan
0c824cfhttps://github.com/python-escpos/python-escpos/commit/0c824cf295a4640c2fa730e0c63fa3084b7e076b
Dec 16, 2023https://github.com/python-escpos/python-escpos/pull/612#event-11266689574
https://github.com/patkan
patkanhttps://github.com/patkan
December 16, 2023 22:09https://github.com/python-escpos/python-escpos/pull/612#event-11266689595
https://github.co/hiddenchars
https://github.com/python-escpos/python-escpos/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%2Fpython-escpos%2Fpython-escpos%2Fpull%2F612
Please reload this pagehttps://github.com/python-escpos/python-escpos/pull/612
https://github.com/patkan
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.