Skip to content

actualization - #111

Merged
Arondondon merged 3 commits into
SPS-14from
development
Mar 13, 2026
Merged

Arondondon merged 3 commits into
SPS-14from
development

Merge pull request #110 from singnet/SPS-16

7fc2a36
Select commit
Loading
Failed to load commit list.
snet-sonarqube-app / SonarQube Code Analysis failed Mar 13, 2026 in 13s

Quality Gate failed

Failed Quality Gate failed

  • 0.00% Coverage on New Code (is less than 80.00%)
  • 0.00% Security Hotspots Reviewed on New Code (is less than 100.00%)
  • 18 New Issues (is greater than 0)

Project ID: singnet_snet-sdk-python_5dcc2cef-7663-4835-b98c-1f36e3bbe222

View in SonarQube

Annotations

Check warning on line 58 in snet/sdk/payment_strategies/freecall_payment_strategy.py

See this annotation in the file changed.

@snet-sonarqube-app snet-sonarqube-app / SonarQube Code Analysis

snet/sdk/payment_strategies/freecall_payment_strategy.py#L58

Replace this generic exception class with a more specific one.

Check warning on line 50 in snet/sdk/storage_provider/storage_provider.py

See this annotation in the file changed.

@snet-sonarqube-app snet-sonarqube-app / SonarQube Code Analysis

snet/sdk/storage_provider/storage_provider.py#L50

Replace this generic exception class with a more specific one.

Check failure on line 97 in snet/sdk/storage_provider/service_metadata.py

See this annotation in the file changed.

@snet-sonarqube-app snet-sonarqube-app / SonarQube Code Analysis

snet/sdk/storage_provider/service_metadata.py#L97

Refactor this function to reduce its Cognitive Complexity from 22 to the 15 allowed.

Check failure on line 130 in snet/sdk/storage_provider/service_metadata.py

See this annotation in the file changed.

@snet-sonarqube-app snet-sonarqube-app / SonarQube Code Analysis

snet/sdk/storage_provider/service_metadata.py#L130

Refactor this function to reduce its Cognitive Complexity from 43 to the 15 allowed.

Check warning on line 193 in snet/sdk/storage_provider/service_metadata.py

See this annotation in the file changed.

@snet-sonarqube-app snet-sonarqube-app / SonarQube Code Analysis

snet/sdk/storage_provider/service_metadata.py#L193

Replace this generic exception class with a more specific one.

Check warning on line 266 in snet/sdk/storage_provider/service_metadata.py

See this annotation in the file changed.

@snet-sonarqube-app snet-sonarqube-app / SonarQube Code Analysis

snet/sdk/storage_provider/service_metadata.py#L266

Replace this generic exception class with a more specific one.

Check warning on line 351 in snet/sdk/storage_provider/service_metadata.py

See this annotation in the file changed.

@snet-sonarqube-app snet-sonarqube-app / SonarQube Code Analysis

snet/sdk/storage_provider/service_metadata.py#L351

Replace this generic exception class with a more specific one.

Check failure on line 432 in snet/sdk/storage_provider/service_metadata.py

See this annotation in the file changed.

@snet-sonarqube-app snet-sonarqube-app / SonarQube Code Analysis

snet/sdk/storage_provider/service_metadata.py#L432

Refactor this function to reduce its Cognitive Complexity from 22 to the 15 allowed.

Check warning on line 38 in snet/sdk/service_client.py

See this annotation in the file changed.

@snet-sonarqube-app snet-sonarqube-app / SonarQube Code Analysis

snet/sdk/service_client.py#L38

Method "__init__" has 14 parameters, which is greater than the 13 authorized.

Check warning on line 185 in snet/sdk/__init__.py

See this annotation in the file changed.

@snet-sonarqube-app snet-sonarqube-app / SonarQube Code Analysis

snet/sdk/__init__.py#L185

Replace this generic exception class with a more specific one.

Check warning on line 186 in snet/sdk/utils/utils.py

See this annotation in the file changed.

@snet-sonarqube-app snet-sonarqube-app / SonarQube Code Analysis

snet/sdk/utils/utils.py#L186

Replace this generic exception class with a more specific one.

Check warning on line 188 in snet/sdk/utils/utils.py

See this annotation in the file changed.

@snet-sonarqube-app snet-sonarqube-app / SonarQube Code Analysis

snet/sdk/utils/utils.py#L188

Replace this generic exception class with a more specific one.

Check notice on line 84 in snet/sdk/mpe/payment_channel_provider.py

See this annotation in the file changed.

@snet-sonarqube-app snet-sonarqube-app / SonarQube Code Analysis

snet/sdk/mpe/payment_channel_provider.py#L84

Remove the unused local variable "it".

Check warning on line 205 in snet/sdk/mpe/payment_channel_provider.py

See this annotation in the file changed.

@snet-sonarqube-app snet-sonarqube-app / SonarQube Code Analysis

snet/sdk/mpe/payment_channel_provider.py#L205

Replace this generic exception class with a more specific one.

Check warning on line 26 in examples/calculator.py

See this annotation in the file changed.

@snet-sonarqube-app snet-sonarqube-app / SonarQube Code Analysis

examples/calculator.py#L26

Replace this generic exception class with a more specific one.

Check warning on line 33 in examples/calculator.py

See this annotation in the file changed.

@snet-sonarqube-app snet-sonarqube-app / SonarQube Code Analysis

examples/calculator.py#L33

Replace this generic exception class with a more specific one.

Check failure on line 390 in examples/console_app.py

See this annotation in the file changed.

@snet-sonarqube-app snet-sonarqube-app / SonarQube Code Analysis

examples/console_app.py#L390

Define a constant instead of duplicating this literal "exit the application" 3 times.

Check failure on line 102 in examples/console_app.py

See this annotation in the file changed.

@snet-sonarqube-app snet-sonarqube-app / SonarQube Code Analysis

examples/console_app.py#L102

Define a constant instead of duplicating this literal "No initialized services!\n" 4 times.