Title: Add `usethis show license` command by Copilot · Pull Request #1663 · usethis-python/usethis-python · GitHub
Open Graph Title: Add `usethis show license` command by Copilot · Pull Request #1663 · usethis-python/usethis-python
X Title: Add `usethis show license` command by Copilot · Pull Request #1663 · usethis-python/usethis-python
Description: Add identify[license] as a project dependency Add license detection error class to src/usethis/_integrations/project/errors.py Create src/usethis/_integrations/project/license.py with license detection logic (heuristics: identify package → pyproject.toml license field → classifiers) Add show_license() to src/usethis/_core/show.py Add license CLI command to src/usethis/_ui/interface/show.py Write unit tests for license detection logic (27 tests) Write CLI integration tests for usethis show license (4 tests) Run static checks and update auto-generated docs (prek ✓, basedpyright ✓) Run code review and address feedback (narrowed exception handling, single backticks in docstrings) Run CodeQL checks (0 alerts) Resolves #1670 Skills used usethis-qa-static-checks — for running prek and basedpyright
Open Graph Description: Add identify[license] as a project dependency Add license detection error class to src/usethis/_integrations/project/errors.py Create src/usethis/_integrations/project/license.py with license det...
X Description: Add identify[license] as a project dependency Add license detection error class to src/usethis/_integrations/project/errors.py Create src/usethis/_integrations/project/license.py with license det...
Opengraph URL: https://github.com/usethis-python/usethis-python/pull/1663
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:24d6010b-de1e-25c7-5772-b03f6c627656 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A4DE:383777:70E98CB:9F292A4:6A500294 |
| html-safe-nonce | f85f8fd5d1e178575dce329d046cd58295469e836993e42d8bc9a4ffc3254b10 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNERFOjM4Mzc3Nzo3MEU5OENCOjlGMjkyQTQ6NkE1MDAyOTQiLCJ2aXNpdG9yX2lkIjoiMzY1MDI3NTQxNTExNTY5NDc0MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4853f3f2d762e3ed44fffba5b034941a4ec98d356b96861fe459ac4e7c58132b |
| hovercard-subject-tag | pull_request:3469202470 |
| 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/usethis-python/usethis-python/pull/1663/files |
| twitter:image | https://avatars.githubusercontent.com/in/1143301?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/1143301?s=400&v=4 |
| og:image:alt | Add identify[license] as a project dependency Add license detection error class to src/usethis/_integrations/project/errors.py Create src/usethis/_integrations/project/license.py with license det... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 56eec25a3430492dd6ec2a480eb33256a0da5192d5714b0db4f5ab5f33203d94 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 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 | e155b8a71f9284454f73118dfe5e634e74f7afb3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width