Fix python failing integration tests #12924
Annotations
10 warnings
Build and analyze:
src/Kiota.Builder/Refiners/PythonRefiner.cs#L163
Refactor this field to reduce its Cognitive Complexity from 19 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
Build and analyze:
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 and analyze:
src/Kiota.Builder/Refiners/PythonRefiner.cs#L202
Refactor this method to reduce its Cognitive Complexity from 34 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
Build and analyze:
src/Kiota.Builder/Writers/Python/CodeMethodWriter.cs#L116
Make 'WriteRawUrlBuilderBody' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
|
Build and analyze:
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 and analyze:
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 and analyze:
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 and analyze:
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 and analyze:
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 and analyze:
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)
|
Loading