Skip to content

refactor: remove dead extract_pr_number_from_url function#437

Merged
anderdc merged 6 commits intoentrius:testfrom
wdeveloper16:refactor/remove-dead-extract-pr-number-from-url
Apr 15, 2026
Merged

refactor: remove dead extract_pr_number_from_url function#437
anderdc merged 6 commits intoentrius:testfrom
wdeveloper16:refactor/remove-dead-extract-pr-number-from-url

Conversation

@wdeveloper16
Copy link
Copy Markdown
Contributor

Summary

extract_pr_number_from_url in utils/github_api_tools.py:1131-1143 is never called anywhere.
The same logic (and more — plain digit strings) is already covered by the actively used parse_pr_number in issue_commands/vote.py. Deletes the dead function.

Test plan

  • pytest tests/cli/ tests/utils/ — no new failures

@wdeveloper16
Copy link
Copy Markdown
Contributor Author

Hi, @anderdc
Would be it possible to review my PR? 🙏
Thanks.

@wdeveloper16
Copy link
Copy Markdown
Contributor Author

Will fix it soon.

@wdeveloper16 wdeveloper16 force-pushed the refactor/remove-dead-extract-pr-number-from-url branch from 5ab575b to 329943c Compare April 15, 2026 16:24
@wdeveloper16
Copy link
Copy Markdown
Contributor Author

Just done!
Ready to review. @anderdc
Thanks

@anderdc anderdc merged commit 39de05e into entrius:test Apr 15, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants