remove falsy check for nulls in method parameters #11708
sonarcloud.yml
on: pull_request
check if SONAR_TOKEN is set in github secrets
0s
Build
2m 52s
Annotations
10 warnings
Build:
src/Kiota.Builder/Writers/Python/CodeMethodWriter.cs#L393
Define a constant instead of using this literal 'Optional[' 7 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|
Build:
src/Kiota.Builder/Writers/Python/CodeMethodWriter.cs#L43
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#L138
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#L167
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#L327
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#L376
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#L430
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#L753
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/CodeMethodWriter.cs#L393
Define a constant instead of using this literal 'Optional[' 7 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|
Build:
src/Kiota.Builder/Writers/Python/CodeMethodWriter.cs#L43
Loop should be simplified by calling Select(parameter => parameter.Name)) (https://rules.sonarsource.com/csharp/RSPEC-3267)
|