Title: Fix mypy errors by SSteve · Pull Request #3 · davecom/ClassicComputerScienceProblemsInPython · GitHub
Open Graph Title: Fix mypy errors by SSteve · Pull Request #3 · davecom/ClassicComputerScienceProblemsInPython
X Title: Fix mypy errors by SSteve · Pull Request #3 · davecom/ClassicComputerScienceProblemsInPython
Description: I get the error Incompatible return value type (got "Tuple[C, ...]", expected "Tuple[C, C]") from mypy in genetic_algorithm.py. These changes eliminated the error but I'm still new to type hints in Python so I'm not 100% sure this is an appropriate change.
Open Graph Description: I get the error Incompatible return value type (got "Tuple[C, ...]", expected "Tuple[C, C]") from mypy in genetic_algorithm.py. These changes eliminated the error but I'm st...
X Description: I get the error Incompatible return value type (got "Tuple[C, ...]", expected "Tuple[C, C]") from mypy in genetic_algorithm.py. These changes eliminated the erro...
Opengraph URL: https://github.com/davecom/ClassicComputerScienceProblemsInPython/pull/3
X: @github
Domain: redirect.github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:95e7b90c-2582-e44a-4ea9-af7d4cf33056 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9502:15DFF5:DD84ED:1329E5D:696A8FE8 |
| html-safe-nonce | fa8487f6e48eecb22f5e1fea19fc65b3e2d35c3ad3a955335f551d7d56b06b30 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTAyOjE1REZGNTpERDg0RUQ6MTMyOUU1RDo2OTZBOEZFOCIsInZpc2l0b3JfaWQiOiI5ODczMDcyNjY3OTM5Njc1OTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | aa30f24e07efd30f0a39610f001e203025f493c6d6e428146e20118fd48e19fc |
| hovercard-subject-tag | pull_request:254093871 |
| 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 | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/davecom/ClassicComputerScienceProblemsInPython/pull/3/files |
| twitter:image | https://avatars.githubusercontent.com/u/523551?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/523551?s=400&v=4 |
| og:image:alt | I get the error Incompatible return value type (got "Tuple[C, ...]", expected "Tuple[C, C]") from mypy in genetic_algorithm.py. These changes eliminated the error but I'm st... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4dd496afc954da9c207b2d9fbe86e3074619f565754aa1d9274aec30d9e5b8d7 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/davecom/ClassicComputerScienceProblemsInPython git https://github.com/davecom/ClassicComputerScienceProblemsInPython.git |
| octolytics-dimension-user_id | 424688 |
| octolytics-dimension-user_login | davecom |
| octolytics-dimension-repository_id | 135237512 |
| octolytics-dimension-repository_nwo | davecom/ClassicComputerScienceProblemsInPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135237512 |
| octolytics-dimension-repository_network_root_nwo | davecom/ClassicComputerScienceProblemsInPython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 31496a13b80a2f6ad77d6c617ee2255a3545b539 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width