René's URL Explorer Experiment


Title: feat: add extra-properties support for SonarQube config generation by harell · Pull Request #1926 · usethis-python/usethis-python · GitHub

Open Graph Title: feat: add extra-properties support for SonarQube config generation by harell · Pull Request #1926 · usethis-python/usethis-python

X Title: feat: add extra-properties support for SonarQube config generation by harell · Pull Request #1926 · usethis-python/usethis-python

Description: What Adds support for tool.usethis.sonarqube.extra-properties in pyproject.toml, allowing users to pass through arbitrary sonar.* properties when generating sonar-project.properties via usethis show sonarqube. Why SonarQube's scanner supports a large number of analysis properties beyond what usethis currently manages. Some of these are needed to import results from external analyzers — tools that run outside SonarQube but whose findings you want to see alongside SonarQube's own analysis. For example, many Python projects run Ruff as their primary linter. Since SonarQube 10.1 (August 2023), the scanner can import Ruff results via the sonar.python.ruff.reportPaths property. Similarly, projects may want to import Pylint reports (sonar.python.pylint.reportPaths), Bandit results (sonar.python.bandit.reportPaths), or Mypy findings (sonar.python.mypy.reportPaths). Without this change, the only way to use these properties with usethis is to create a static sonar-project.properties file — which defeats the purpose of having usethis generate it dynamically from pyproject.toml. How it works Users add a [tool.usethis.sonarqube.extra-properties] table to their pyproject.toml: [tool.usethis.sonarqube] project-key = "my-project" [tool.usethis.sonarqube.extra-properties] "sonar.python.ruff.reportPaths" = "ruff-report.json" "sonar.python.bandit.reportPaths" = "bandit-report.json" Running usethis show sonarqube then produces: sonar.projectKey=my-project sonar.language=py sonar.python.version=3.12 sonar.sources=./src sonar.tests=./tests sonar.python.coverage.reportPaths=coverage.xml sonar.verbose=false sonar.python.bandit.reportPaths=bandit-report.json sonar.python.ruff.reportPaths=ruff-report.json Extra properties are appended after all managed properties, in sorted order for deterministic output. If extra-properties is absent or empty, the output is unchanged (fully backward compatible). Changes src/usethis/_integrations/sonarqube/config.py: Added _get_sonarqube_extra_properties() function and integrated it into get_sonar_project_properties(). tests/usethis/_integrations/sonarqube/test_sonarqube_config.py: Added 3 tests — single property, multiple properties (verifying sort order), and absent extra-properties (backward compat). docs/cli/reference.md: Documented the new configuration key.

Open Graph Description: What Adds support for tool.usethis.sonarqube.extra-properties in pyproject.toml, allowing users to pass through arbitrary sonar.* properties when generating sonar-project.properties via usethis sho...

X Description: What Adds support for tool.usethis.sonarqube.extra-properties in pyproject.toml, allowing users to pass through arbitrary sonar.* properties when generating sonar-project.properties via usethis sho...

Opengraph URL: https://github.com/usethis-python/usethis-python/pull/1926

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:8807cd68-0ad3-b9bb-fe45-536b7118f6c6
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD49A:1E086E:15D22A9:1FD5D03:6A4E49F4
html-safe-nonce78a8023f97b9d03581e59867710ce5d6f9964ab0aca3add80bbdfda45c4b82cf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENDlBOjFFMDg2RToxNUQyMkE5OjFGRDVEMDM6NkE0RTQ5RjQiLCJ2aXNpdG9yX2lkIjoiODc3NjQ3OTMyOTk4NDg1ODYxMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb00676f10009896132819fac7376b069d1d40bfffaa01902a57d8e171a62df68
hovercard-subject-tagpull_request:3640009286
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/usethis-python/usethis-python/pull/1926/files
twitter:imagehttps://avatars.githubusercontent.com/u/7226303?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/7226303?s=400&v=4
og:image:altWhat Adds support for tool.usethis.sonarqube.extra-properties in pyproject.toml, allowing users to pass through arbitrary sonar.* properties when generating sonar-project.properties via usethis sho...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/usethis-python/usethis-python git https://github.com/usethis-python/usethis-python.git
octolytics-dimension-user_id216362695
octolytics-dimension-user_loginusethis-python
octolytics-dimension-repository_id842189705
octolytics-dimension-repository_nwousethis-python/usethis-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id842189705
octolytics-dimension-repository_network_root_nwousethis-python/usethis-python
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasee8506f6d0538364886e3f0153c154c410965e70d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/usethis-python/usethis-python/pull/1926/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fusethis-python%2Fusethis-python%2Fpull%2F1926%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fusethis-python%2Fusethis-python%2Fpull%2F1926%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=usethis-python%2Fusethis-python
Reloadhttps://github.com/usethis-python/usethis-python/pull/1926/files
Reloadhttps://github.com/usethis-python/usethis-python/pull/1926/files
Reloadhttps://github.com/usethis-python/usethis-python/pull/1926/files
Please reload this pagehttps://github.com/usethis-python/usethis-python/pull/1926/files
usethis-python https://github.com/usethis-python
usethis-pythonhttps://github.com/usethis-python/usethis-python
Notifications https://github.com/login?return_to=%2Fusethis-python%2Fusethis-python
Fork 5 https://github.com/login?return_to=%2Fusethis-python%2Fusethis-python
Star 19 https://github.com/login?return_to=%2Fusethis-python%2Fusethis-python
Code https://github.com/usethis-python/usethis-python
Issues 163 https://github.com/usethis-python/usethis-python/issues
Pull requests 4 https://github.com/usethis-python/usethis-python/pulls
Actions https://github.com/usethis-python/usethis-python/actions
Security and quality 0 https://github.com/usethis-python/usethis-python/security
Insights https://github.com/usethis-python/usethis-python/pulse
Code https://github.com/usethis-python/usethis-python
Issues https://github.com/usethis-python/usethis-python/issues
Pull requests https://github.com/usethis-python/usethis-python/pulls
Actions https://github.com/usethis-python/usethis-python/actions
Security and quality https://github.com/usethis-python/usethis-python/security
Insights https://github.com/usethis-python/usethis-python/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fusethis-python%2Fusethis-python%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fusethis-python%2Fusethis-python%2Fissues%2Fnew%2Fchoose
nathanjmcdougallhttps://github.com/nathanjmcdougall
usethis-python:mainhttps://github.com/usethis-python/usethis-python/tree/main
harell:feat/sonarqube-extra-propertieshttps://github.com/harell/usethis-python/tree/feat/sonarqube-extra-properties
Conversation 19 https://github.com/usethis-python/usethis-python/pull/1926
Commits 4 https://github.com/usethis-python/usethis-python/pull/1926/commits
Checks 20 https://github.com/usethis-python/usethis-python/pull/1926/checks
Files changed https://github.com/usethis-python/usethis-python/pull/1926/files
Please reload this pagehttps://github.com/usethis-python/usethis-python/pull/1926/files
feat: add extra-properties support for SonarQube config generation https://github.com/usethis-python/usethis-python/pull/1926/files#top
Show all changes 4 commits https://github.com/usethis-python/usethis-python/pull/1926/files
f905c91 feat: add extra-properties support for SonarQube config generation A… May 6, 2026 https://github.com/usethis-python/usethis-python/pull/1926/commits/f905c9184d6ef650165af9691cdec8bee948a631
77c0755 Merge remote-tracking branch 'upstream/main' into feat/sonarqube-extr… May 7, 2026 https://github.com/usethis-python/usethis-python/pull/1926/commits/77c0755aad1be30810797a3a06daa2bea6b7be89
ff06895 fix: use properties_dict variable for ty type checker compatibility May 7, 2026 https://github.com/usethis-python/usethis-python/pull/1926/commits/ff06895e97cc6d32fc5620a8f1d10b383fa89461
fb4eff5 Merge branch 'main' into feat/sonarqube-extra-properties nathanjmcdougall May 7, 2026 https://github.com/usethis-python/usethis-python/pull/1926/commits/fb4eff5f03807b60d244f8c33a406db625e7ae8b
Clear filters https://github.com/usethis-python/usethis-python/pull/1926/files
Please reload this pagehttps://github.com/usethis-python/usethis-python/pull/1926/files
Please reload this pagehttps://github.com/usethis-python/usethis-python/pull/1926/files
reference.md https://github.com/usethis-python/usethis-python/pull/1926/files#diff-3b67ed4865c7a1a7f01831f47a14d60fb895a8279ac3e57f46484bd252912f5b
config.py https://github.com/usethis-python/usethis-python/pull/1926/files#diff-fa1d3c332b7035c9071c8f179e9767f64c65ef31cc696dde3c777309f004a27a
test_sonarqube_config.py https://github.com/usethis-python/usethis-python/pull/1926/files#diff-c2990811e202206ad7ed278d24a0dfa7fb8ba7bde2e615c99cc6f3956f3cbf9f
docs/cli/reference.mdhttps://github.com/usethis-python/usethis-python/pull/1926/files#diff-3b67ed4865c7a1a7f01831f47a14d60fb895a8279ac3e57f46484bd252912f5b
View file https://github.com/harell/usethis-python/blob/fb4eff5f03807b60d244f8c33a406db625e7ae8b/docs/cli/reference.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/usethis-python/usethis-python/pull/1926/{{ revealButtonHref }}
https://github.com/usethis-python/usethis-python/pull/1926/files#diff-3b67ed4865c7a1a7f01831f47a14d60fb895a8279ac3e57f46484bd252912f5b
https://github.com/usethis-python/usethis-python/pull/1926/files#diff-3b67ed4865c7a1a7f01831f47a14d60fb895a8279ac3e57f46484bd252912f5b
src/usethis/_integrations/sonarqube/config.pyhttps://github.com/usethis-python/usethis-python/pull/1926/files#diff-fa1d3c332b7035c9071c8f179e9767f64c65ef31cc696dde3c777309f004a27a
View file https://github.com/harell/usethis-python/blob/fb4eff5f03807b60d244f8c33a406db625e7ae8b/src/usethis/_integrations/sonarqube/config.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/usethis-python/usethis-python/pull/1926/{{ revealButtonHref }}
https://github.com/usethis-python/usethis-python/pull/1926/files#diff-fa1d3c332b7035c9071c8f179e9767f64c65ef31cc696dde3c777309f004a27a
https://github.com/usethis-python/usethis-python/pull/1926/files#diff-fa1d3c332b7035c9071c8f179e9767f64c65ef31cc696dde3c777309f004a27a
https://github.com/usethis-python/usethis-python/pull/1926/files#diff-fa1d3c332b7035c9071c8f179e9767f64c65ef31cc696dde3c777309f004a27a
https://github.com/usethis-python/usethis-python/pull/1926/files#diff-fa1d3c332b7035c9071c8f179e9767f64c65ef31cc696dde3c777309f004a27a
https://github.com/usethis-python/usethis-python/pull/1926/files#diff-fa1d3c332b7035c9071c8f179e9767f64c65ef31cc696dde3c777309f004a27a
https://github.com/usethis-python/usethis-python/pull/1926/files#diff-fa1d3c332b7035c9071c8f179e9767f64c65ef31cc696dde3c777309f004a27a
https://github.com/usethis-python/usethis-python/pull/1926/files#diff-fa1d3c332b7035c9071c8f179e9767f64c65ef31cc696dde3c777309f004a27a
tests/usethis/_integrations/sonarqube/test_sonarqube_config.pyhttps://github.com/usethis-python/usethis-python/pull/1926/files#diff-c2990811e202206ad7ed278d24a0dfa7fb8ba7bde2e615c99cc6f3956f3cbf9f
View file https://github.com/harell/usethis-python/blob/fb4eff5f03807b60d244f8c33a406db625e7ae8b/tests/usethis/_integrations/sonarqube/test_sonarqube_config.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/usethis-python/usethis-python/pull/1926/{{ revealButtonHref }}
https://github.com/usethis-python/usethis-python/pull/1926/files#diff-c2990811e202206ad7ed278d24a0dfa7fb8ba7bde2e615c99cc6f3956f3cbf9f
Please reload this pagehttps://github.com/usethis-python/usethis-python/pull/1926/files
Please reload this pagehttps://github.com/usethis-python/usethis-python/pull/1926/files
https://github.com/usethis-python/usethis-python/pull/1926/files#diff-c2990811e202206ad7ed278d24a0dfa7fb8ba7bde2e615c99cc6f3956f3cbf9f
Please reload this pagehttps://github.com/usethis-python/usethis-python/pull/1926/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.