sandip22c/python-sonarqube — reverse-engineered prompt

Reverse engineered prompt

Build me a small Python example repo that shows the full SonarQube workflow from start to finish. I want something simple in a src folder with matching tests, enough code to make linting, security scanning, and test coverage actually show up in SonarQube.

Please wire it so I can run SonarQube locally with Docker, create a Python virtual environment, install the test tools, run the tests, generate a pytest report and coverage XML, create a pylint report, create a bandit JSON report, and then scan the project into the local SonarQube server. Add the SonarQube project config so those reports are picked up correctly.

Keep it minimal and beginner friendly, but complete enough that someone could clone it and learn the whole flow without guessing. A short README with the exact commands in order would be great. If anything changed recently, look up the current SonarQube scanner docs online and use the right approach.

Want more depth? Deep Reverse