Repository navigation
feat: Add correct types and make mypy --strict pass - #771
fjovell-swish wants to merge 4 commits into
Quality Gate passed
Annotations
Check warning on line 583 in ocpp/charge_point.py
sonarqubecloud / SonarCloud Code Analysis
Remove this "timeout" parameter and use a timeout context manager instead.
See more on https://sonarcloud.io/project/issues?id=mobilityhouse_ocpp&issues=AaDJFLvdMsgLhz9raEC3&open=AaDJFLvdMsgLhz9raEC3&pullRequest=771
Check warning on line 138 in ocpp/messages.py
sonarqubecloud / SonarCloud Code Analysis
Use a union type expression for this type hint.
See more on https://sonarcloud.io/project/issues?id=mobilityhouse_ocpp&issues=AaEMHw-QUCDbNhe000Ei&open=AaEMHw-QUCDbNhe000Ei&pullRequest=771
Check warning on line 264 in ocpp/charge_point.py
sonarqubecloud / SonarCloud Code Analysis
Use a union type expression for this type hint.
See more on https://sonarcloud.io/project/issues?id=mobilityhouse_ocpp&issues=AaEMHxC6UCDbNhe000Er&open=AaEMHxC6UCDbNhe000Er&pullRequest=771
Check warning on line 48 in ocpp/charge_point.py
sonarqubecloud / SonarCloud Code Analysis
Use a union type expression for this type hint.
See more on https://sonarcloud.io/project/issues?id=mobilityhouse_ocpp&issues=AaEMHxC6UCDbNhe000En&open=AaEMHxC6UCDbNhe000En&pullRequest=771
Check warning on line 263 in ocpp/charge_point.py
sonarqubecloud / SonarCloud Code Analysis
Use a union type expression for this type hint.
See more on https://sonarcloud.io/project/issues?id=mobilityhouse_ocpp&issues=AaEMHxC6UCDbNhe000Eq&open=AaEMHxC6UCDbNhe000Eq&pullRequest=771
Check warning on line 86 in ocpp/messages.py
sonarqubecloud / SonarCloud Code Analysis
Use a union type expression for this type hint.
See more on https://sonarcloud.io/project/issues?id=mobilityhouse_ocpp&issues=AaEMHw-QUCDbNhe000Ef&open=AaEMHw-QUCDbNhe000Ef&pullRequest=771
Check warning on line 376 in ocpp/charge_point.py
sonarqubecloud / SonarCloud Code Analysis
Use a union type expression for this type hint.
See more on https://sonarcloud.io/project/issues?id=mobilityhouse_ocpp&issues=AaEMHxC6UCDbNhe000Et&open=AaEMHxC6UCDbNhe000Et&pullRequest=771
Check warning on line 149 in ocpp/charge_point.py
sonarqubecloud / SonarCloud Code Analysis
Use a union type expression for this type hint.
See more on https://sonarcloud.io/project/issues?id=mobilityhouse_ocpp&issues=AaEMHxC6UCDbNhe000Ep&open=AaEMHxC6UCDbNhe000Ep&pullRequest=771
Check warning on line 184 in ocpp/messages.py
sonarqubecloud / SonarCloud Code Analysis
Use a union type expression for this type hint.
See more on https://sonarcloud.io/project/issues?id=mobilityhouse_ocpp&issues=AaEMHw-QUCDbNhe000Ej&open=AaEMHw-QUCDbNhe000Ej&pullRequest=771
Check warning on line 583 in ocpp/charge_point.py
sonarqubecloud / SonarCloud Code Analysis
Use a union type expression for this type hint.
See more on https://sonarcloud.io/project/issues?id=mobilityhouse_ocpp&issues=AaEMHxC6UCDbNhe000Eu&open=AaEMHxC6UCDbNhe000Eu&pullRequest=771
Check warning on line 148 in ocpp/charge_point.py
sonarqubecloud / SonarCloud Code Analysis
Use a union type expression for this type hint.
See more on https://sonarcloud.io/project/issues?id=mobilityhouse_ocpp&issues=AaEMHxC6UCDbNhe000Eo&open=AaEMHxC6UCDbNhe000Eo&pullRequest=771
Check warning on line 401 in ocpp/messages.py
sonarqubecloud / SonarCloud Code Analysis
Use a union type expression for this type hint.
See more on https://sonarcloud.io/project/issues?id=mobilityhouse_ocpp&issues=AaEMHw-QUCDbNhe000Em&open=AaEMHw-QUCDbNhe000Em&pullRequest=771
Check warning on line 315 in ocpp/messages.py
sonarqubecloud / SonarCloud Code Analysis
Use a union type expression for this type hint.
See more on https://sonarcloud.io/project/issues?id=mobilityhouse_ocpp&issues=AaEMHw-QUCDbNhe000El&open=AaEMHw-QUCDbNhe000El&pullRequest=771
Check warning on line 124 in ocpp/messages.py
sonarqubecloud / SonarCloud Code Analysis
Use a union type expression for this type hint.
See more on https://sonarcloud.io/project/issues?id=mobilityhouse_ocpp&issues=AaEMHw-QUCDbNhe000Eh&open=AaEMHw-QUCDbNhe000Eh&pullRequest=771
Check warning on line 196 in ocpp/messages.py
sonarqubecloud / SonarCloud Code Analysis
Use a union type expression for this type hint.
See more on https://sonarcloud.io/project/issues?id=mobilityhouse_ocpp&issues=AaEMHw-QUCDbNhe000Ek&open=AaEMHw-QUCDbNhe000Ek&pullRequest=771
Check warning on line 357 in ocpp/charge_point.py
sonarqubecloud / SonarCloud Code Analysis
Use a union type expression for this type hint.
See more on https://sonarcloud.io/project/issues?id=mobilityhouse_ocpp&issues=AaEMHxC6UCDbNhe000Es&open=AaEMHxC6UCDbNhe000Es&pullRequest=771
Check warning on line 86 in ocpp/messages.py
sonarqubecloud / SonarCloud Code Analysis
Use a union type expression for this type hint.
See more on https://sonarcloud.io/project/issues?id=mobilityhouse_ocpp&issues=AaEMHw-QUCDbNhe000Eg&open=AaEMHw-QUCDbNhe000Eg&pullRequest=771