Title: Add support for alternative names in testing directory detection by Copilot · Pull Request #1853 · usethis-python/usethis-python · GitHub
Open Graph Title: Add support for alternative names in testing directory detection by Copilot · Pull Request #1853 · usethis-python/usethis-python
X Title: Add support for alternative names in testing directory detection by Copilot · Pull Request #1853 · usethis-python/usethis-python
Description: Add get_tests_dir_str() to src/usethis/_integrations/project/layout.py (detects tests or test directory) Update src/usethis/_integrations/pytest/core.py to use get_tests_dir_str() Update src/usethis/_tool/impl/spec/pytest.py — dynamically populate meta.managed_files to include conftest.py and update testpaths config Update src/usethis/_tool/impl/spec/ty.py — _get_src_include() to use get_tests_dir_str() Update src/usethis/_tool/impl/spec/tach.py — exclusion list to use get_tests_dir_str() Update src/usethis/_tool/impl/base/ruff.py — glob patterns to use get_tests_dir_str() Update src/usethis/_integrations/sonarqube/config.py — sonar.tests and exclusion to use get_tests_dir_str() Update src/usethis/_tool/impl/base/pytest.py — print_how_to_use message to use get_tests_dir_str() Mark ToolSpec.managed_files as @final in src/usethis/_tool/spec.py to prevent override-based multiple sources of truth Add tests for get_tests_dir_str() in tests/usethis/_integrations/project/test_layout.py Add tests for alternative test directory detection in tests/usethis/_integrations/pytest/test_core.py Merge conflicts resolved (test_layout.py — kept both test_setup_py_present from main and new TestGetTestsDirStr class) All static checks passing (prek + basedpyright)
Open Graph Description: Add get_tests_dir_str() to src/usethis/_integrations/project/layout.py (detects tests or test directory) Update src/usethis/_integrations/pytest/core.py to use get_tests_dir_str() Update src/uset...
X Description: Add get_tests_dir_str() to src/usethis/_integrations/project/layout.py (detects tests or test directory) Update src/usethis/_integrations/pytest/core.py to use get_tests_dir_str() Update src/uset...
Opengraph URL: https://github.com/usethis-python/usethis-python/pull/1853
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:c3542b41-dc99-da02-bdc6-468f0fcbcfb4 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | ACE8:271448:E392B1:13ACE7A:6A4DD21F |
| html-safe-nonce | 7928d1ed09eeec3b05c4e8c73a78dcff760138fd83f527b9b2e5cae3fa4328d2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQ0U4OjI3MTQ0ODpFMzkyQjE6MTNBQ0U3QTo2QTRERDIxRiIsInZpc2l0b3JfaWQiOiI2ODA2Njk3Mzc2ODc2NDUwMzM1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 09f6bf24992faabf12527e87a2cad32647e1671a899f0faeb09d33960896b180 |
| hovercard-subject-tag | pull_request:3497013056 |
| 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/1853/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 get_tests_dir_str() to src/usethis/_integrations/project/layout.py (detects tests or test directory) Update src/usethis/_integrations/pytest/core.py to use get_tests_dir_str() Update src/uset... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| 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 | 1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width