No description
parse_base_url and parse_repo_name accept SCP-style URLs for any host: the bitbucket.org-only ValueError is removed, SCP-style format validation (colon required, no scheme) retained, Bitbucket behavior unchanged. parse_repo_name's stale copy-pasted docstring corrected. Additionally parse_base_url now returns str as annotated (was Path), eliminating the mypy return-value error. 10 unit tests cover Bitbucket-, Forgejo- and GitHub-shaped URLs, .git suffix handling, str return type, and both rejection cases; 106/106 pass via tox -e unit-py313 with vcs/git.py down to 4 pre-existing baseline mypy errors. |
||
|---|---|---|
| src/byteb4rb1e | ||
| tests | ||
| .gitignore | ||
| DEVELOPMENT.md | ||
| LICENSE | ||
| Pipfile | ||
| Pipfile.lock | ||
| pyproject.toml | ||
| TODO | ||
| tox.ini | ||