| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:acd2817e-61ce-4ded-ea2c-6177450a2936 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B894:331F14:1073BBE:1643165:6AEC5B3D |
| html-safe-nonce | da8294c63d0dccf82c03843f7ea0f10b474900970fca6052fada86311d43ed86 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODk0OjMzMUYxNDoxMDczQkJFOjE2NDMxNjU6NkFFQzVCM0QiLCJ2aXNpdG9yX2lkIjoiNTUwNzg4Njg0OTgyNTk4NzM4OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 27b36ea07dc8a483a3204180c7040735413736e4e9648ff24f51253feab6c0b8 |
| hovercard-subject-tag | pull_request:777435348 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/Hellebore/python-testing/121/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/ee7ecc17049067ef35a2ac9c59c8dec633e2ff5176e23757e2decc05b7bc2417/Hellebore/python-testing/pull/121 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ee7ecc17049067ef35a2ac9c59c8dec633e2ff5176e23757e2decc05b7bc2417/Hellebore/python-testing/pull/121 |
| og:image:alt | Branch master refactored by Sourcery.
If you're happy with these changes, merge this Pull Request using the Squash and merge strategy.
See our documentation here.
Run Sourcery locally
Reduce ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sourcery-ai[bot] |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7d7db1e529b542851575839b1ff051a015ba048c1b57e26f6068abf951bdffcf |
| turbo-cache-control | no-cache |
| go-import | github.com/Hellebore/python-testing git https://github.com/Hellebore/python-testing.git |
| octolytics-dimension-user_id | 3765186 |
| octolytics-dimension-user_login | Hellebore |
| octolytics-dimension-repository_id | 251319660 |
| octolytics-dimension-repository_nwo | Hellebore/python-testing |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 251319660 |
| octolytics-dimension-repository_network_root_nwo | Hellebore/python-testing |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 61edfff9455d0559e1ba55a5c1197bc11672beb7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/Hellebore/python-testing/pull/121#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FHellebore%2Fpython-testing%2Fpull%2F121 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FHellebore%2Fpython-testing%2Fpull%2F121 |
| 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=Hellebore%2Fpython-testing |
| Reload | https://github.com/Hellebore/python-testing/pull/121 |
| Reload | https://github.com/Hellebore/python-testing/pull/121 |
| Reload | https://github.com/Hellebore/python-testing/pull/121 |
| Hellebore | https://github.com/Hellebore |
| python-testing | https://github.com/Hellebore/python-testing |
| Code | https://github.com/Hellebore/python-testing |
| Issues | https://github.com/Hellebore/python-testing/issues |
| Pull requests1 (1) | https://github.com/Hellebore/python-testing/pulls |
| Actions | https://github.com/Hellebore/python-testing/actions |
| Projects | https://github.com/Hellebore/python-testing/projects |
| Security and quality | https://github.com/Hellebore/python-testing/security |
| Insights | https://github.com/Hellebore/python-testing/pulse |
| https://github.com/Hellebore/python-testing |
| sourcery-ai[bot] | https://github.com/sourcery-ai[bot] |
| master | https://github.com/Hellebore/python-testing/tree/master |
| sourcery/master | https://github.com/Hellebore/python-testing/tree/sourcery/master |
| Conversation | https://github.com/Hellebore/python-testing/pull/121 |
| Commits1 (1) | https://github.com/Hellebore/python-testing/pull/121/commits |
| Checks | https://github.com/Hellebore/python-testing/pull/121/checks |
| Files changed | https://github.com/Hellebore/python-testing/pull/121/files |
| Sourcery refactored master branch | https://github.com/Hellebore/python-testing/pull/121#top |
| sourcery-ai[bot] | https://github.com/sourcery-ai[bot] |
| master | https://github.com/Hellebore/python-testing/tree/master |
| sourcery/master | https://github.com/Hellebore/python-testing/tree/sourcery/master |
|
| https://github.com/apps/sourcery-ai |
| sourcery-ai | https://github.com/apps/sourcery-ai |
| Nov 10, 2021 | https://github.com/Hellebore/python-testing/pull/121#issue-1049644400 |
| Sourcery | https://sourcery.ai/github/ |
| here | https://docs.sourcery.ai/GitHub/Using-Sourcery-for-GitHub/ |
| VS Code | https://sourcery.ai/download/?editor=vscode |
| PyCharm | https://sourcery.ai/download/?editor=pycharm |
| improve | https://research.typeform.com/to/j06Spdfr?type=branch_refactor&github_login=Hellebore&base_repo=https%3A%2F%2Fgithub.com%2FHellebore%2Fpython-testing.git&base_remote_ref=master&base_ref=master&base_sha=603b067dffcdc51e2704d0c5504d664a630da2e8&head_repo=https%3A%2F%2Fgithub.com%2FHellebore%2Fpython-testing.git&head_ref=sourcery%2Fmaster |
| Please reload this page | https://github.com/Hellebore/python-testing/pull/121 |
| 'Refactored by Sourcery' | https://github.com/Hellebore/python-testing/pull/121/commits/02d454f646a63aa73d64fe0ca6701c5d263fd58d |
| 02d454f | https://github.com/Hellebore/python-testing/pull/121/commits/02d454f646a63aa73d64fe0ca6701c5d263fd58d |
| https://github.com/apps/sourcery-ai |
| sourcery-ai | https://github.com/apps/sourcery-ai |
| Hellebore | https://github.com/Hellebore |
| November 10, 2021 10:21 | https://github.com/Hellebore/python-testing/pull/121#event-5595995198 |
| https://github.com/apps/sourcery-ai |
| sourcery-ai | https://github.com/apps/sourcery-ai |
| Nov 10, 2021 | https://github.com/Hellebore/python-testing/pull/121#issuecomment-964990092 |
| Complexity | https://docs.sourcery.ai/GitHub/Quality-Report/#complexity |
| Method Length | https://docs.sourcery.ai/GitHub/Quality-Report/#method-length |
| Working memory | https://docs.sourcery.ai/GitHub/Quality-Report/#working-memory |
| Quality | https://docs.sourcery.ai/GitHub/Quality-Report/#quality-score |
| here | https://docs.sourcery.ai/GitHub/Quality-Report/ |
| improve | https://research.typeform.com/to/j06Spdfr?type=quality_report&github_login=sourcery-ai%5Bbot%5D&base_repo=https%3A%2F%2Fgithub.com%2FHellebore%2Fpython-testing.git&base_remote_ref=refs%2Fpull%2F121%2Fhead&base_ref=sourcery%2Fmaster&base_sha=02d454f646a63aa73d64fe0ca6701c5d263fd58d&head_repo=https%3A%2F%2Fgithub.com%2FHellebore%2Fpython-testing.git&head_ref=sourcery%2Fsourcery%2Fmaster&base_pr_number=121&base_pr_state=open |
| Please reload this page | https://github.com/Hellebore/python-testing/pull/121 |
| https://github.com/apps/sourcery-ai |
| sourcery-ai | https://github.com/apps/sourcery-ai |
|
Nov 10, 2021
| https://github.com/Hellebore/python-testing/pull/121#pullrequestreview-802393187 |
|
View reviewed changes
| https://github.com/Hellebore/python-testing/pull/121/files/02d454f646a63aa73d64fe0ca6701c5d263fd58d |
| gilded_rose_original.py | https://github.com/Hellebore/python-testing/pull/121/files/02d454f646a63aa73d64fe0ca6701c5d263fd58d#diff-8fdb546d4c559ccc63546cac5d4c3014165f5a72a9e0c8cf929fb3080fda8a16 |
| sourcery-ai | https://github.com/apps/sourcery-ai |
| Nov 10, 2021 | https://github.com/Hellebore/python-testing/pull/121#discussion_r746448127 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| switch | https://docs.sourcery.ai/refactorings/switch/ |
| merge-nested-ifs | https://docs.sourcery.ai/refactorings/merge-nested-ifs/ |
| swap-nested-ifs | https://docs.sourcery.ai/refactorings/swap-nested-ifs/ |
| remove-redundant-if | https://docs.sourcery.ai/refactorings/remove-redundant-if/ |
| remove-pass-elif | https://docs.sourcery.ai/refactorings/remove-pass-elif/ |
| merge-comparisons | https://docs.sourcery.ai/refactorings/merge-comparisons/ |
| swap-if-else-branches | https://docs.sourcery.ai/refactorings/swap-if-else-branches/ |
| split-or-ifs | https://docs.sourcery.ai/refactorings/split-or-ifs/ |
| hoist-if-from-if | https://docs.sourcery.ai/refactorings/hoist-if-from-if/ |
| guard | https://docs.sourcery.ai/refactorings/guard/ |
| hoist-statement-from-if | https://docs.sourcery.ai/refactorings/hoist-statement-from-if/ |
| simplify-numeric-comparison | https://docs.sourcery.ai/refactorings/simplify-numeric-comparison/ |
| Please reload this page | https://github.com/Hellebore/python-testing/pull/121 |
| test.py | https://github.com/Hellebore/python-testing/pull/121/files/02d454f646a63aa73d64fe0ca6701c5d263fd58d#diff-3665d65394f4f58a56a256ad6dd8621c68118d90fe56a19387e251c19cec2d2e |
| sourcery-ai | https://github.com/apps/sourcery-ai |
| Nov 10, 2021 | https://github.com/Hellebore/python-testing/pull/121#discussion_r746448130 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| remove-redundant-if | https://docs.sourcery.ai/refactorings/remove-redundant-if/ |
| Please reload this page | https://github.com/Hellebore/python-testing/pull/121 |
| test.py | https://github.com/Hellebore/python-testing/pull/121/files/02d454f646a63aa73d64fe0ca6701c5d263fd58d#diff-3665d65394f4f58a56a256ad6dd8621c68118d90fe56a19387e251c19cec2d2e |
| sourcery-ai | https://github.com/apps/sourcery-ai |
| Nov 10, 2021 | https://github.com/Hellebore/python-testing/pull/121#discussion_r746448132 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| remove-redundant-if | https://docs.sourcery.ai/refactorings/remove-redundant-if/ |
| remove-unreachable-code | https://docs.sourcery.ai/refactorings/remove-unreachable-code/ |
| none-compare | https://docs.sourcery.ai/refactorings/none-compare/ |
| Please reload this page | https://github.com/Hellebore/python-testing/pull/121 |
| test.py | https://github.com/Hellebore/python-testing/pull/121/files/02d454f646a63aa73d64fe0ca6701c5d263fd58d#diff-3665d65394f4f58a56a256ad6dd8621c68118d90fe56a19387e251c19cec2d2e |
| sourcery-ai | https://github.com/apps/sourcery-ai |
| Nov 10, 2021 | https://github.com/Hellebore/python-testing/pull/121#discussion_r746448134 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| remove-redundant-if | https://docs.sourcery.ai/refactorings/remove-redundant-if/ |
| Please reload this page | https://github.com/Hellebore/python-testing/pull/121 |
| test.py | https://github.com/Hellebore/python-testing/pull/121/files/02d454f646a63aa73d64fe0ca6701c5d263fd58d#diff-3665d65394f4f58a56a256ad6dd8621c68118d90fe56a19387e251c19cec2d2e |
| sourcery-ai | https://github.com/apps/sourcery-ai |
| Nov 10, 2021 | https://github.com/Hellebore/python-testing/pull/121#discussion_r746448138 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| move-assign | https://docs.sourcery.ai/refactorings/move-assign/ |
| Please reload this page | https://github.com/Hellebore/python-testing/pull/121 |
| test/test.py | https://github.com/Hellebore/python-testing/pull/121/files/02d454f646a63aa73d64fe0ca6701c5d263fd58d#diff-ae070fbd66c55f7bf108994c0a42ffe69eee7319b5bf0f47bef0fcdbd8b496b3 |
| sourcery-ai | https://github.com/apps/sourcery-ai |
| Nov 10, 2021 | https://github.com/Hellebore/python-testing/pull/121#discussion_r746448159 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| remove-redundant-if | https://docs.sourcery.ai/refactorings/remove-redundant-if/ |
| Please reload this page | https://github.com/Hellebore/python-testing/pull/121 |
| test/test.py | https://github.com/Hellebore/python-testing/pull/121/files/02d454f646a63aa73d64fe0ca6701c5d263fd58d#diff-ae070fbd66c55f7bf108994c0a42ffe69eee7319b5bf0f47bef0fcdbd8b496b3 |
| sourcery-ai | https://github.com/apps/sourcery-ai |
| Nov 10, 2021 | https://github.com/Hellebore/python-testing/pull/121#discussion_r746448162 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| remove-redundant-if | https://docs.sourcery.ai/refactorings/remove-redundant-if/ |
| remove-unreachable-code | https://docs.sourcery.ai/refactorings/remove-unreachable-code/ |
| none-compare | https://docs.sourcery.ai/refactorings/none-compare/ |
| Please reload this page | https://github.com/Hellebore/python-testing/pull/121 |
| test/test.py | https://github.com/Hellebore/python-testing/pull/121/files/02d454f646a63aa73d64fe0ca6701c5d263fd58d#diff-ae070fbd66c55f7bf108994c0a42ffe69eee7319b5bf0f47bef0fcdbd8b496b3 |
| sourcery-ai | https://github.com/apps/sourcery-ai |
| Nov 10, 2021 | https://github.com/Hellebore/python-testing/pull/121#discussion_r746448164 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| remove-redundant-if | https://docs.sourcery.ai/refactorings/remove-redundant-if/ |
| Please reload this page | https://github.com/Hellebore/python-testing/pull/121 |
| test/test.py | https://github.com/Hellebore/python-testing/pull/121/files/02d454f646a63aa73d64fe0ca6701c5d263fd58d#diff-ae070fbd66c55f7bf108994c0a42ffe69eee7319b5bf0f47bef0fcdbd8b496b3 |
| sourcery-ai | https://github.com/apps/sourcery-ai |
| Nov 10, 2021 | https://github.com/Hellebore/python-testing/pull/121#discussion_r746448165 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| move-assign | https://docs.sourcery.ai/refactorings/move-assign/ |
| Please reload this page | https://github.com/Hellebore/python-testing/pull/121 |
| test/test.py | https://github.com/Hellebore/python-testing/pull/121/files/02d454f646a63aa73d64fe0ca6701c5d263fd58d#diff-ae070fbd66c55f7bf108994c0a42ffe69eee7319b5bf0f47bef0fcdbd8b496b3 |
| sourcery-ai | https://github.com/apps/sourcery-ai |
| Nov 10, 2021 | https://github.com/Hellebore/python-testing/pull/121#discussion_r746448166 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| remove-redundant-if | https://docs.sourcery.ai/refactorings/remove-redundant-if/ |
| Please reload this page | https://github.com/Hellebore/python-testing/pull/121 |
| https://github.com/Hellebore |
| Hellebore | https://github.com/Hellebore |
| Dec 14, 2021 | https://github.com/Hellebore/python-testing/pull/121#event-5765414970 |
| https://github.co/hiddenchars |
| https://github.com/Hellebore/python-testing/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FHellebore%2Fpython-testing%2Fpull%2F121 |
|
| https://github.com/Hellebore |
|
Hellebore
| https://github.com/Hellebore |
| Please reload this page | https://github.com/Hellebore/python-testing/pull/121 |
| Please reload this page | https://github.com/Hellebore/python-testing/pull/121 |
|
| https://github.com/Hellebore |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |