Skip to content

Validate python intergration tests. #12732

Validate python intergration tests.

Validate python intergration tests. #12732

Triggered via pull request October 18, 2024 10:17
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/CodeMethodWriter.cs#L395
Define a constant instead of using this literal 'Optional[' 7 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
Build: src/Kiota.Builder/Writers/Python/CodePropertyWriter.cs#L13
Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: src/Kiota.Builder/Writers/Python/CodePropertyWriter.cs#L37
Remove this use of 'goto'. (https://rules.sonarsource.com/csharp/RSPEC-907)
Build: src/Kiota.Builder/Writers/Python/CodeMethodWriter.cs#L44
Loop should be simplified by calling Select(parameter => parameter.Name)) (https://rules.sonarsource.com/csharp/RSPEC-3267)
Build: src/Kiota.Builder/Writers/Python/CodeMethodWriter.cs#L116
Make 'WriteRawUrlBuilderBody' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
Build: src/Kiota.Builder/Writers/Python/CodeMethodWriter.cs#L139
Refactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: src/Kiota.Builder/Writers/Python/CodeMethodWriter.cs#L168
Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: src/Kiota.Builder/Writers/Python/CodeMethodWriter.cs#L329
Refactor this method to reduce its Cognitive Complexity from 28 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: src/Kiota.Builder/Writers/Python/CodeMethodWriter.cs#L378
Refactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: src/Kiota.Builder/Writers/Python/CodeMethodWriter.cs#L432
Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)