Skip to content

Fix SonarCloud warnings on `observers/amd.py`

c5fd7c4
Select commit
Loading
Failed to load commit list.
Merged

Add AMDSMIObserver that uses amdsmi to measure energy #372

Fix SonarCloud warnings on `observers/amd.py`
c5fd7c4
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Apr 20, 2026 in 32s

Annotations

Check warning on line 22 in kernel_tuner/observers/amd.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this redundant Exception class; it derives from another which is already caught.

See more on https://sonarcloud.io/project/issues?id=KernelTuner_kernel_tuner&issues=AZ1D6s08gLsdgtcoILay&open=AZ1D6s08gLsdgtcoILay&pullRequest=372

Check warning on line 42 in kernel_tuner/observers/amd.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a docstring to this function.

See more on https://sonarcloud.io/project/issues?id=KernelTuner_kernel_tuner&issues=AZ1D6s08gLsdgtcoILaz&open=AZ1D6s08gLsdgtcoILaz&pullRequest=372

Check warning on line 0 in kernel_tuner/observers/amd.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a docstring to this module.

See more on https://sonarcloud.io/project/issues?id=KernelTuner_kernel_tuner&issues=AZ1D6s08gLsdgtcoILav&open=AZ1D6s08gLsdgtcoILav&pullRequest=372

Check warning on line 12 in kernel_tuner/observers/amd.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a docstring to this function.

See more on https://sonarcloud.io/project/issues?id=KernelTuner_kernel_tuner&issues=AZ1D6s08gLsdgtcoILaw&open=AZ1D6s08gLsdgtcoILaw&pullRequest=372