Skip to content

#461: begin clustering_transfer_strategy unit test #602

#461: begin clustering_transfer_strategy unit test

#461: begin clustering_transfer_strategy unit test #602

Triggered via push October 13, 2023 19:47
Status Failure
Total duration 6m 9s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

code-quality.yml

on: push
Matrix: code-quality
Fit to window
Zoom out
Zoom in

Annotations

7 errors, 10 warnings, and 10 notices
code-quality (ubuntu-latest, 3.9)
Process completed with exit code 1.
tests.acceptance.test_acceptance.TestAcceptance-20231013194917 ► tests.acceptance.test_acceptance.TestAcceptance ► test_synthetic_acceptance: artifacts/unittest/reports/TEST-tests.acceptance.test_acceptance.TestAcceptance-20231013194917.xml#L1
Failed test found in: artifacts/unittest/reports/TEST-tests.acceptance.test_acceptance.TestAcceptance-20231013194917.xml Error: Traceback (most recent call last):
code-quality (ubuntu-latest, 3.9)
Failed tests were found and 'fail-on-error' option is set to true
code-quality (ubuntu-latest, 3.8)
Failed tests were found and 'fail-on-error' option is set to true
code-quality (ubuntu-latest, 3.8)
Process completed with exit code 255.
code-quality (ubuntu-latest, 3.8): src/lbaf/Execution/lbsInformAndTransferAlgorithm.py#L173
Using possibly undefined loop variable 'r' (undefined-loop-variable)
code-quality (ubuntu-latest, 3.8): src/lbaf/Execution/lbsInformAndTransferAlgorithm.py#L173
Using possibly undefined loop variable 'r' (undefined-loop-variable)
code-quality (ubuntu-latest, 3.8): src/lbaf/Execution/lbsCentralizedPrefixOptimizerAlgorithm.py#L152
Lambda may not be necessary (unnecessary-lambda)
code-quality (ubuntu-latest, 3.8): src/lbaf/Execution/lbsCriterionBase.py#L66
Dangerous default value [] as argument (dangerous-default-value)
code-quality (ubuntu-latest, 3.8): src/lbaf/Execution/lbsCriterionBase.py#L76
Unnecessary pass statement (unnecessary-pass)
code-quality (ubuntu-latest, 3.8): src/lbaf/Execution/lbsCriterionBase.py#L79
Dangerous default value [] as argument (dangerous-default-value)
code-quality (ubuntu-latest, 3.8): src/lbaf/Execution/lbsClusteringTransferStrategy.py#L92
Parameter 'phase' has been renamed to 'known_peers' in overridden 'ClusteringTransferStrategy.execute' method (arguments-renamed)
code-quality (ubuntu-latest, 3.8): src/lbaf/Execution/lbsClusteringTransferStrategy.py#L92
Parameter 'known_peers' has been renamed to 'phase' in overridden 'ClusteringTransferStrategy.execute' method (arguments-renamed)
code-quality (ubuntu-latest, 3.8): src/lbaf/Execution/lbsClusteringTransferStrategy.py#L161
Redeclared variable 'r_dst' in assignment (redeclared-assigned-name)
code-quality (ubuntu-latest, 3.8): src/lbaf/IO/lbsVTDataWriter.py#L1
Missing module docstring (missing-module-docstring)
code-quality (ubuntu-latest, 3.8): src/lbaf/IO/lbsVTDataWriter.py#L50
Method could be a function (no-self-use)
code-quality (ubuntu-latest, 3.8): src/lbaf/IO/lbsVTDataWriter.py#L113
Use a generator instead 'all(isinstance(p, Phase) for p in phases.values())' (use-a-generator)
code-quality (ubuntu-latest, 3.8): src/lbaf/IO/lbsVTDataWriter.py#L121
Variable name "p" doesn't conform to snake_case naming style (invalid-name)
code-quality (ubuntu-latest, 3.8): src/lbaf/IO/lbsVTDataWriter.py#L122
Variable name "r" doesn't conform to snake_case naming style (invalid-name)
code-quality (ubuntu-latest, 3.8): src/lbaf/IO/lbsVTDataWriter.py#L12
Too few public methods (1/2) (too-few-public-methods)
code-quality (ubuntu-latest, 3.8): src/lbaf/IO/lbsConfigurationValidator.py#L56
Use a generator instead 'all(isinstance(y, float) for y in x.values())' (use-a-generator)
code-quality (ubuntu-latest, 3.8): src/lbaf/IO/lbsConfigurationValidator.py#L100
Use a generator instead 'all(isinstance(y, int) for y in x)' (use-a-generator)
code-quality (ubuntu-latest, 3.8): src/lbaf/IO/lbsConfigurationValidator.py#L203
Unnecessary "else" after "return" (no-else-return)
code-quality (ubuntu-latest, 3.8): src/lbaf/IO/lbsConfigurationValidator.py#L212
Too many branches (13/12) (too-many-branches)