Skip to content

fixes python generation with comment opening/closing tags #12951

fixes python generation with comment opening/closing tags

fixes python generation with comment opening/closing tags #12951

Triggered via pull request November 7, 2024 08:47
Status Success
Total duration 3m 15s
Artifacts

sonarcloud.yml

on: pull_request
check if SONAR_TOKEN is set in github secrets
0s
check if SONAR_TOKEN is set in github secrets
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Build: src/Kiota.Builder/Writers/Python/PythonConventionService.cs#L24
Make 'AddRequestBuilderBody' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
Build: src/Kiota.Builder/Writers/Python/PythonConventionService.cs#L73
Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: src/Kiota.Builder/Writers/Python/PythonConventionService.cs#L122
Make 'TypeExistInSameClassAsTarget' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
Build: src/Kiota.Builder/Writers/Python/PythonConventionService.cs#L129
Make 'IsPrimitiveType' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
Build: src/Kiota.Builder/Writers/Python/PythonConventionService.cs#L144
Remove this unnecessary check for null. (https://rules.sonarsource.com/csharp/RSPEC-2589)
Build: src/Kiota.Builder/Writers/Python/PythonConventionService.cs#L24
Make 'AddRequestBuilderBody' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
Build: src/Kiota.Builder/Writers/Python/PythonConventionService.cs#L73
Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: src/Kiota.Builder/Writers/Python/PythonConventionService.cs#L122
Make 'TypeExistInSameClassAsTarget' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
Build: src/Kiota.Builder/Writers/Python/PythonConventionService.cs#L129
Make 'IsPrimitiveType' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
Build: src/Kiota.Builder/Writers/Python/PythonConventionService.cs#L144
Remove this unnecessary check for null. (https://rules.sonarsource.com/csharp/RSPEC-2589)