Skip to content

Typing 1 b#870

Draft
bouwew wants to merge 29 commits into
mainfrom
typing_1_b
Draft

Typing 1 b#870
bouwew wants to merge 29 commits into
mainfrom
typing_1_b

fixup: typing_1_b Python code fixed using ruff

e9d0d42
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Apr 19, 2026 in 29s

Quality Gate failed

Failed conditions
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 422 in plugwise/constants.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this "TODO" comment.

See more on https://sonarcloud.io/project/issues?id=plugwise_python-plugwise&issues=AZ1ejLoNrHfHDGLiEckF&open=AZ1ejLoNrHfHDGLiEckF&pullRequest=870

Check warning on line 130 in plugwise/common.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this commented out code.

See more on https://sonarcloud.io/project/issues?id=plugwise_python-plugwise&issues=AZ2lNri8WySueEBauAgl&open=AZ2lNri8WySueEBauAgl&pullRequest=870

Check warning on line 237 in plugwise/model.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this "TODO" comment.

See more on https://sonarcloud.io/project/issues?id=plugwise_python-plugwise&issues=AZ1ejLn_rHfHDGLiEckE&open=AZ1ejLn_rHfHDGLiEckE&pullRequest=870

Check failure on line 124 in plugwise/__init__.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this identity check; it will always be False.

See more on https://sonarcloud.io/project/issues?id=plugwise_python-plugwise&issues=AZ1ejLn3rHfHDGLiEckA&open=AZ1ejLn3rHfHDGLiEckA&pullRequest=870

Check warning on line 86 in plugwise/common.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this commented out code.

See more on https://sonarcloud.io/project/issues?id=plugwise_python-plugwise&issues=AZ2lNri8WySueEBauAgj&open=AZ2lNri8WySueEBauAgj&pullRequest=870

Check warning on line 112 in plugwise/common.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this commented out code.

See more on https://sonarcloud.io/project/issues?id=plugwise_python-plugwise&issues=AZ2lNri8WySueEBauAgk&open=AZ2lNri8WySueEBauAgk&pullRequest=870

Check warning on line 183 in plugwise/helper.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this commented out code.

See more on https://sonarcloud.io/project/issues?id=plugwise_python-plugwise&issues=AZ2lNrm1WySueEBauAgq&open=AZ2lNrm1WySueEBauAgq&pullRequest=870

Check warning on line 179 in plugwise/__init__.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this commented out code.

See more on https://sonarcloud.io/project/issues?id=plugwise_python-plugwise&issues=AZ2lNrlLWySueEBauAgm&open=AZ2lNrlLWySueEBauAgm&pullRequest=870

Check warning on line 208 in plugwise/__init__.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this "TODO" comment.

See more on https://sonarcloud.io/project/issues?id=plugwise_python-plugwise&issues=AZ1ejLn3rHfHDGLiEckC&open=AZ1ejLn3rHfHDGLiEckC&pullRequest=870

Check warning on line 57 in plugwise/smilecomm.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this commented out code.

See more on https://sonarcloud.io/project/issues?id=plugwise_python-plugwise&issues=AZ2lNrmDWySueEBauAgo&open=AZ2lNrmDWySueEBauAgo&pullRequest=870

Check warning on line 191 in plugwise/__init__.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this commented out code.

See more on https://sonarcloud.io/project/issues?id=plugwise_python-plugwise&issues=AZ2lNrlLWySueEBauAgn&open=AZ2lNrlLWySueEBauAgn&pullRequest=870

Check warning on line 299 in plugwise/common.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Delete this unreachable code or refactor the code to make it reachable.

See more on https://sonarcloud.io/project/issues?id=plugwise_python-plugwise&issues=AZ1ejLk9rHfHDGLiEcj-&open=AZ1ejLk9rHfHDGLiEcj-&pullRequest=870

Check warning on line 282 in plugwise/common.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this "TODO" comment.

See more on https://sonarcloud.io/project/issues?id=plugwise_python-plugwise&issues=AZ1ejLk9rHfHDGLiEcj_&open=AZ1ejLk9rHfHDGLiEcj_&pullRequest=870

Check warning on line 80 in plugwise/helper.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the type hint "str" with "Optional[str]" or don't assign "None" to this expression

See more on https://sonarcloud.io/project/issues?id=plugwise_python-plugwise&issues=AZ1ejLoxrHfHDGLiEckG&open=AZ1ejLoxrHfHDGLiEckG&pullRequest=870

Check warning on line 214 in plugwise/__init__.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Fix this attribute access on a value that can be 'None'.

See more on https://sonarcloud.io/project/issues?id=plugwise_python-plugwise&issues=AZ1ejLn3rHfHDGLiEckD&open=AZ1ejLn3rHfHDGLiEckD&pullRequest=870

Check failure on line 95 in plugwise/helper.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=plugwise_python-plugwise&issues=AZ1ejLoxrHfHDGLiEckH&open=AZ1ejLoxrHfHDGLiEckH&pullRequest=870

Check failure on line 79 in plugwise/util.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=plugwise_python-plugwise&issues=AZ2lNrmWWySueEBauAgp&open=AZ2lNrmWWySueEBauAgp&pullRequest=870

Check failure on line 619 in plugwise/helper.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Change this argument; Function "format_measure" expects a different type

See more on https://sonarcloud.io/project/issues?id=plugwise_python-plugwise&issues=AZ1ejLoxrHfHDGLiEckL&open=AZ1ejLoxrHfHDGLiEckL&pullRequest=870