| 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:8f8afe16-8956-8d42-b751-5683150535aa |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DB0A:247EB:14D8E53:1C32915:6A4D75EE |
| html-safe-nonce | dcba6db90a00089e787d1a9662042a5d1cd7067a4ddfcea83c59bb671d698bc7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjBBOjI0N0VCOjE0RDhFNTM6MUMzMjkxNTo2QTRENzVFRSIsInZpc2l0b3JfaWQiOiI4OTkzMTg0MTAzOTI3NzM5ODg2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 8e7116a9c281d5f54bce1909a0b8345491573917534bbe0b8ede5715856301e5 |
| hovercard-subject-tag | pull_request:3392524866 |
| 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/usethis-python/usethis-python/1399/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/b22930898b1ff5a59eb549954adc2044c4bfe27c243e9016147a9f92ed6f830a/usethis-python/usethis-python/pull/1399 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b22930898b1ff5a59eb549954adc2044c4bfe27c243e9016147a9f92ed6f830a/usethis-python/usethis-python/pull/1399 |
| og:image:alt | Enables the reportUnnecessaryComparison basedpyright rule and removes the dead code/redundant conditions it surfaces.
Changes
pyproject.toml: Remove reportUnnecessaryComparison = false override.
_... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Copilot |
| hostname | github.com |
| expected-hostname | github.com |
| None | c78260c7b3f4ac4b0356c8208537f05406a3a2d46a9ec3f735b372dcc519c39e |
| turbo-cache-control | no-cache |
| go-import | github.com/usethis-python/usethis-python git https://github.com/usethis-python/usethis-python.git |
| octolytics-dimension-user_id | 216362695 |
| octolytics-dimension-user_login | usethis-python |
| octolytics-dimension-repository_id | 842189705 |
| octolytics-dimension-repository_nwo | usethis-python/usethis-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 842189705 |
| octolytics-dimension-repository_network_root_nwo | usethis-python/usethis-python |
| 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 | 399fff412f48461d435721c009efc17ea44be72f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/usethis-python/usethis-python/pull/1399#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fusethis-python%2Fusethis-python%2Fpull%2F1399 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| 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 |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | 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/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2Fusethis-python%2Fusethis-python%2Fpull%2F1399 |
|
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=usethis-python%2Fusethis-python |
| Reload | https://github.com/usethis-python/usethis-python/pull/1399 |
| Reload | https://github.com/usethis-python/usethis-python/pull/1399 |
| Reload | https://github.com/usethis-python/usethis-python/pull/1399 |
| Please reload this page | https://github.com/usethis-python/usethis-python/pull/1399 |
|
usethis-python
| https://github.com/usethis-python |
| usethis-python | https://github.com/usethis-python/usethis-python |
|
Notifications
| https://github.com/login?return_to=%2Fusethis-python%2Fusethis-python |
|
Fork
5
| https://github.com/login?return_to=%2Fusethis-python%2Fusethis-python |
|
Star
19
| https://github.com/login?return_to=%2Fusethis-python%2Fusethis-python |
|
Code
| https://github.com/usethis-python/usethis-python |
|
Issues
163
| https://github.com/usethis-python/usethis-python/issues |
|
Pull requests
4
| https://github.com/usethis-python/usethis-python/pulls |
|
Actions
| https://github.com/usethis-python/usethis-python/actions |
|
Security and quality
0
| https://github.com/usethis-python/usethis-python/security |
|
Insights
| https://github.com/usethis-python/usethis-python/pulse |
|
Code
| https://github.com/usethis-python/usethis-python |
|
Issues
| https://github.com/usethis-python/usethis-python/issues |
|
Pull requests
| https://github.com/usethis-python/usethis-python/pulls |
|
Actions
| https://github.com/usethis-python/usethis-python/actions |
|
Security and quality
| https://github.com/usethis-python/usethis-python/security |
|
Insights
| https://github.com/usethis-python/usethis-python/pulse |
| nathanjmcdougall | https://github.com/nathanjmcdougall |
| main | https://github.com/usethis-python/usethis-python/tree/main |
| copilot/enable-report-unnecessary-comparison | https://github.com/usethis-python/usethis-python/tree/copilot/enable-report-unnecessary-comparison |
| Conversation | https://github.com/usethis-python/usethis-python/pull/1399 |
| Commits2 (2) | https://github.com/usethis-python/usethis-python/pull/1399/commits |
| Checks | https://github.com/usethis-python/usethis-python/pull/1399/checks |
| Files changed | https://github.com/usethis-python/usethis-python/pull/1399/files |
| Enable reportUnnecessaryComparison in basedpyright | https://github.com/usethis-python/usethis-python/pull/1399#top |
| nathanjmcdougall | https://github.com/nathanjmcdougall |
| main | https://github.com/usethis-python/usethis-python/tree/main |
| copilot/enable-report-unnecessary-comparison | https://github.com/usethis-python/usethis-python/tree/copilot/enable-report-unnecessary-comparison |
|
| https://github.com/apps/copilot-swe-agent |
| Copilot | https://github.com/apps/copilot-swe-agent |
| Mar 13, 2026 | https://github.com/usethis-python/usethis-python/pull/1399#issue-4068065617 |
| Please reload this page | https://github.com/usethis-python/usethis-python/pull/1399 |
| Actions setup steps | https://gh.io/copilot/actions-setup-steps |
| Copilot coding agent settings | https://github.com/usethis-python/usethis-python/settings/copilot/coding_agent |
| @copilot | https://gh.io/copilot-coding-agent-docs |
| @nathanjmcdougall | https://github.com/nathanjmcdougall |
| enable reportUnnecessaryComparison in basedpyright #1334 | https://github.com/usethis-python/usethis-python/issues/1334 |
| Jira | https://gh.io/cca-jira-docs |
| Azure Boards | https://gh.io/cca-azure-boards-docs |
| Linear | https://gh.io/cca-linear-docs |
| Please reload this page | https://github.com/usethis-python/usethis-python/pull/1399 |
|
| https://github.com/apps/copilot-swe-agent |
| Initial plan | https://github.com/usethis-python/usethis-python/pull/1399/commits/b0b821fc49d71ae2cd8f01943ade1e96a628ede6 |
| b0b821f | https://github.com/usethis-python/usethis-python/pull/1399/commits/b0b821fc49d71ae2cd8f01943ade1e96a628ede6 |
|
| https://github.com/apps/copilot-swe-agent |
| Copilot | https://github.com/apps/copilot-swe-agent |
| Copilot | https://github.com/apps/copilot-swe-agent |
| nathanjmcdougall | https://github.com/nathanjmcdougall |
| Mar 13, 2026 | https://github.com/usethis-python/usethis-python/pull/1399#event-23528436288 |
| started work | https://github.com/usethis-python/usethis-python/sessions/9f672755-298a-4f63-a967-bf3530f5dd3c |
| nathanjmcdougall | https://github.com/nathanjmcdougall |
| March 13, 2026 00:39 | https://github.com/usethis-python/usethis-python/pull/1399#event-23528437889 |
|
View session
| https://github.com/usethis-python/usethis-python/sessions/9f672755-298a-4f63-a967-bf3530f5dd3c |
|
| https://github.com/apps/copilot-swe-agent |
|
| https://github.com/nathanjmcdougall |
| Enable reportUnnecessaryComparison in basedpyright and fix violations | https://github.com/usethis-python/usethis-python/pull/1399/commits/f01722ab6f382714731a604a28087642b2f17bf5 |
| f01722a | https://github.com/usethis-python/usethis-python/pull/1399/commits/f01722ab6f382714731a604a28087642b2f17bf5 |
|
| https://github.com/apps/copilot-swe-agent |
| Copilot | https://github.com/apps/copilot-swe-agent |
| Mar 13, 2026 | https://github.com/usethis-python/usethis-python/pull/1399#event-23528612713 |
|
| https://github.com/apps/copilot-swe-agent |
| Copilot | https://github.com/apps/copilot-swe-agent |
| nathanjmcdougall | https://github.com/nathanjmcdougall |
| March 13, 2026 00:48 | https://github.com/usethis-python/usethis-python/pull/1399#event-23528615282 |
| finished work | https://github.com/usethis-python/usethis-python/sessions/9f672755-298a-4f63-a967-bf3530f5dd3c |
| nathanjmcdougall | https://github.com/nathanjmcdougall |
| March 13, 2026 00:48 | https://github.com/usethis-python/usethis-python/pull/1399#event-23528615994 |
|
| https://github.com/apps/copilot-swe-agent |
| Copilot | https://github.com/apps/copilot-swe-agent |
| temporarily deployed | https://github.com/usethis-python/usethis-python/actions/runs/23030961845/job/66898329079 |
| March 13, 2026 02:57 | https://github.com/usethis-python/usethis-python/pull/1399#event-23530922459 |
| https://github.com/apps/codecov |
| codecov | https://github.com/apps/codecov |
| Mar 13, 2026 | https://github.com/usethis-python/usethis-python/pull/1399#issuecomment-4052122923 |
| Codecov | https://app.codecov.io/gh/usethis-python/usethis-python/pull/1399?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=usethis-python |
| Let us know! | https://github.com/codecov/feedback/issues/255 |
| Please reload this page | https://github.com/usethis-python/usethis-python/pull/1399 |
| https://github.com/apps/codspeed-hq |
| codspeed-hq | https://github.com/apps/codspeed-hq |
| Mar 13, 2026 | https://github.com/usethis-python/usethis-python/pull/1399#issuecomment-4052128486 |
| f01722a | https://github.com/usethis-python/usethis-python/commit/f01722ab6f382714731a604a28087642b2f17bf5 |
| 2d06cad | https://github.com/usethis-python/usethis-python/commit/2d06cadeebefcbc803615722d6285c236b009e5f |
|
| https://codspeed.io/usethis-python/usethis-python/branches/copilot%2Fenable-report-unnecessary-comparison?utm_source=github&utm_medium=comment-v2&utm_content=button |
| Please reload this page | https://github.com/usethis-python/usethis-python/pull/1399 |
| https://github.com/nathanjmcdougall |
| nathanjmcdougall | https://github.com/nathanjmcdougall |
| March 13, 2026 03:15 | https://github.com/usethis-python/usethis-python/pull/1399#event-23531327145 |
| https://github.com/nathanjmcdougall |
| nathanjmcdougall | https://github.com/nathanjmcdougall |
| 81ae429 | https://github.com/usethis-python/usethis-python/commit/81ae4297de130bc75e596aaf6202c332d26f1b69 |
| Mar 13, 2026 | https://github.com/usethis-python/usethis-python/pull/1399#event-23531330898 |
| Please reload this page | https://github.com/usethis-python/usethis-python/pull/1399 |
| https://github.com/nathanjmcdougall |
| nathanjmcdougall | https://github.com/nathanjmcdougall |
| March 13, 2026 03:16 | https://github.com/usethis-python/usethis-python/pull/1399#event-23531331619 |
| https://github.co/hiddenchars |
| https://github.com/usethis-python/usethis-python/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%2Fusethis-python%2Fusethis-python%2Fpull%2F1399 |
|
| https://github.com/nathanjmcdougall |
|
nathanjmcdougall
| https://github.com/nathanjmcdougall |
|
| https://github.com/nathanjmcdougall |
|
nathanjmcdougall
| https://github.com/nathanjmcdougall |
|
Copilot code review
| https://github.com/apps/copilot-swe-agent |
|
Copilot
| https://github.com/apps/copilot-swe-agent |
|
enable reportUnnecessaryComparison in basedpyright
| https://github.com/usethis-python/usethis-python/issues/1334 |
| Please reload this page | https://github.com/usethis-python/usethis-python/pull/1399 |
|
| https://github.com/apps/copilot-swe-agent |
|
| https://github.com/nathanjmcdougall |
|
| 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 |