fixes python generation with comment opening/closing tags #12951
sonarcloud.yml
on: pull_request
check if SONAR_TOKEN is set in github secrets
0s
Build
2m 53s
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)
|