Title: fix: make gender input case-insensitive and clean up pre-commit config by fengxiaohu · Pull Request #4855 · python-telegram-bot/python-telegram-bot · GitHub
Open Graph Title: fix: make gender input case-insensitive and clean up pre-commit config by fengxiaohu · Pull Request #4855 · python-telegram-bot/python-telegram-bot
X Title: fix: make gender input case-insensitive and clean up pre-commit config by fengxiaohu · Pull Request #4855 · python-telegram-bot/python-telegram-bot
Description: Summary This PR improves the gender input handling in examples/conversationbot.py by using a case-insensitive regex. It also corrects a pre-commit hook configuration issue in .pre-commit-config.yaml (invalid stages field in isort). Changes Made gender selection case-insensitive using (?i) regex. Updated .pre-commit-config.yaml to fix isort hook crash due to invalid stages. Verified pre-commit hook passes for ruff, black, flake8, isort, and mypy. Check-list Created/adapted unit test or verified functionality manually Documented behavior change in example All pre-commit hooks pass (pre-commit run -a) Added .. versionchanged:: NEXT.VERSION to example function (optional) Added myself to AUTHORS.rst (optional) No breaking changes or violations of stability policy
Open Graph Description: Summary This PR improves the gender input handling in examples/conversationbot.py by using a case-insensitive regex. It also corrects a pre-commit hook configuration issue in .pre-commit-config.yam...
X Description: Summary This PR improves the gender input handling in examples/conversationbot.py by using a case-insensitive regex. It also corrects a pre-commit hook configuration issue in .pre-commit-config.yam...
Opengraph URL: https://github.com/python-telegram-bot/python-telegram-bot/pull/4855
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:b01902c7-3aee-85a2-af67-5729117aa245 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 902A:151D81:106BF0:15840B:6A5BBB68 |
| html-safe-nonce | 709adef6f2f985ce904f0fbce8d0b9d30083ddb1c86197c32c229828a6f52678 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDJBOjE1MUQ4MToxMDZCRjA6MTU4NDBCOjZBNUJCQjY4IiwidmlzaXRvcl9pZCI6IjQ2MTMzNTA4MTgyNTUxOTA4ODgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 18e8aff7b1fbb24c4d1835b10923e463cd8bad19389d34a32924af6eaebb43af |
| hovercard-subject-tag | pull_request:2645800572 |
| 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/python-telegram-bot/python-telegram-bot/pull/4855/files |
| twitter:image | https://avatars.githubusercontent.com/u/23492381?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/23492381?s=400&v=4 |
| og:image:alt | Summary This PR improves the gender input handling in examples/conversationbot.py by using a case-insensitive regex. It also corrects a pre-commit hook configuration issue in .pre-commit-config.yam... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python-telegram-bot/python-telegram-bot git https://github.com/python-telegram-bot/python-telegram-bot.git |
| octolytics-dimension-user_id | 16178365 |
| octolytics-dimension-user_login | python-telegram-bot |
| octolytics-dimension-repository_id | 38696925 |
| octolytics-dimension-repository_nwo | python-telegram-bot/python-telegram-bot |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 38696925 |
| octolytics-dimension-repository_network_root_nwo | python-telegram-bot/python-telegram-bot |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width