René's URL Explorer Experiment


Title: PEP8 and other issues · Issue #1 · microsoft/python-sample-vscode-flask-tutorial · GitHub

Open Graph Title: PEP8 and other issues · Issue #1 · microsoft/python-sample-vscode-flask-tutorial

X Title: PEP8 and other issues · Issue #1 · microsoft/python-sample-vscode-flask-tutorial

Description: Please fix them both in the example project here and in the online tutorial. :) PEP8 spaces around the = of keywords args - PEP8 forbids spaces there inconsistent indentation (some function bodies are indented with 8 spaces) local import...

Open Graph Description: Please fix them both in the example project here and in the online tutorial. :) PEP8 spaces around the = of keywords args - PEP8 forbids spaces there inconsistent indentation (some function bodies ...

X Description: Please fix them both in the example project here and in the online tutorial. :) PEP8 spaces around the = of keywords args - PEP8 forbids spaces there inconsistent indentation (some function bodies ...

Opengraph URL: https://github.com/microsoft/python-sample-vscode-flask-tutorial/issues/1

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"PEP8 and other issues","articleBody":"Please fix them both in the example project here and in the online tutorial. :)\r\n\r\n### PEP8\r\n- spaces around the `=` of keywords args - PEP8 forbids spaces there\r\n- inconsistent indentation (some function bodies are indented with 8 spaces)\r\n- local imports for no reason (`datetime` in `hello_there`) - not directly a PEP8 violation but local stdlib imports don't really make sense\r\n\r\n### Flask stuff\r\n- please consider removing the example with the hardcoded HTML. some people WILL think it's OK to do that even if you mention that usually templates are used. also, that hardcoded-html example is vulnerable to XSS.\r\n- `href=\"/static/site.css\"` - use `href=\"{{ url_for('static', filename='site.css')}}\"`\r\n- `message=\"Hello there, \" + name + \"!\",` - usually you would pass just the `name` to the template and then build the message in there. So I would change this, and also do the `strftime` call in the template (ideally someone would use e.g. flask-babel but that's out of the scope of a simple tutorial)\r\n\r\nNote: I'm one of the flask maintainers, and I can assure you that people WILL assume things are good  / ok / the way to go when part of a tutorial. I've seen my share of bad practices from code people posted in our IRC channel.","author":{"url":"https://github.com/ThiefMaster","@type":"Person","name":"ThiefMaster"},"datePublished":"2018-07-06T08:43:07.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/1/python-sample-vscode-flask-tutorial/issues/1"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:c96e5b31-903d-9521-2545-f33aa581edbd
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAFC8:6435C:A44FBA9:E5895A8:6A50D541
html-safe-nonce769c72f7473deaa43ddac3d212b1120ca9c445a48f5eaafdb881f01a0f38f9c9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRkM4OjY0MzVDOkE0NEZCQTk6RTU4OTVBODo2QTUwRDU0MSIsInZpc2l0b3JfaWQiOiIxMjEzMTMzMjc5OTc4Mzc4NTYxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacd60c1451c802aa09093f25b2556a2aee4a42040e4eafb2214ea1ff7d5b98c15a
hovercard-subject-tagissue:338854952
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/python-sample-vscode-flask-tutorial/1/issue_layout
twitter:imagehttps://opengraph.githubassets.com/4bc672ba48322b25b5de697b5ddabc106978c29a12819da11b8366587f01e93d/microsoft/python-sample-vscode-flask-tutorial/issues/1
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4bc672ba48322b25b5de697b5ddabc106978c29a12819da11b8366587f01e93d/microsoft/python-sample-vscode-flask-tutorial/issues/1
og:image:altPlease fix them both in the example project here and in the online tutorial. :) PEP8 spaces around the = of keywords args - PEP8 forbids spaces there inconsistent indentation (some function bodies ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameThiefMaster
hostnamegithub.com
expected-hostnamegithub.com
None72b13e0e8d0319acdd27a145cfe73f4f06c791713d0ac4690e41fb68ad28cac0
turbo-cache-controlno-preview
go-importgithub.com/microsoft/python-sample-vscode-flask-tutorial git https://github.com/microsoft/python-sample-vscode-flask-tutorial.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id133398807
octolytics-dimension-repository_nwomicrosoft/python-sample-vscode-flask-tutorial
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id133398807
octolytics-dimension-repository_network_root_nwomicrosoft/python-sample-vscode-flask-tutorial
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
release5bf72d88d55658ca72495ccb034c76af6c4c2feb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/microsoft/python-sample-vscode-flask-tutorial/issues/1#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fpython-sample-vscode-flask-tutorial%2Fissues%2F1
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%2Fmicrosoft%2Fpython-sample-vscode-flask-tutorial%2Fissues%2F1
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=microsoft%2Fpython-sample-vscode-flask-tutorial
Reloadhttps://github.com/microsoft/python-sample-vscode-flask-tutorial/issues/1
Reloadhttps://github.com/microsoft/python-sample-vscode-flask-tutorial/issues/1
Reloadhttps://github.com/microsoft/python-sample-vscode-flask-tutorial/issues/1
Please reload this pagehttps://github.com/microsoft/python-sample-vscode-flask-tutorial/issues/1
microsoft https://github.com/microsoft
python-sample-vscode-flask-tutorialhttps://github.com/microsoft/python-sample-vscode-flask-tutorial
Notifications https://github.com/login?return_to=%2Fmicrosoft%2Fpython-sample-vscode-flask-tutorial
Fork 6.6k https://github.com/login?return_to=%2Fmicrosoft%2Fpython-sample-vscode-flask-tutorial
Star 388 https://github.com/login?return_to=%2Fmicrosoft%2Fpython-sample-vscode-flask-tutorial
Code https://github.com/microsoft/python-sample-vscode-flask-tutorial
Issues 4 https://github.com/microsoft/python-sample-vscode-flask-tutorial/issues
Pull requests 22 https://github.com/microsoft/python-sample-vscode-flask-tutorial/pulls
Actions https://github.com/microsoft/python-sample-vscode-flask-tutorial/actions
Projects https://github.com/microsoft/python-sample-vscode-flask-tutorial/projects
Models https://github.com/microsoft/python-sample-vscode-flask-tutorial/models
Security and quality 0 https://github.com/microsoft/python-sample-vscode-flask-tutorial/security
Insights https://github.com/microsoft/python-sample-vscode-flask-tutorial/pulse
Code https://github.com/microsoft/python-sample-vscode-flask-tutorial
Issues https://github.com/microsoft/python-sample-vscode-flask-tutorial/issues
Pull requests https://github.com/microsoft/python-sample-vscode-flask-tutorial/pulls
Actions https://github.com/microsoft/python-sample-vscode-flask-tutorial/actions
Projects https://github.com/microsoft/python-sample-vscode-flask-tutorial/projects
Models https://github.com/microsoft/python-sample-vscode-flask-tutorial/models
Security and quality https://github.com/microsoft/python-sample-vscode-flask-tutorial/security
Insights https://github.com/microsoft/python-sample-vscode-flask-tutorial/pulse
PEP8 and other issueshttps://github.com/microsoft/python-sample-vscode-flask-tutorial/issues/1#top
https://github.com/ThiefMaster
ThiefMasterhttps://github.com/ThiefMaster
on Jul 6, 2018https://github.com/microsoft/python-sample-vscode-flask-tutorial/issues/1#issue-338854952
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.