diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 4a69f851a..e37b46c43 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -15,6 +15,8 @@ jobs: - "3.8" - "3.9" - "3.10" + - "3.11" + - "3.12" steps: - uses: actions/checkout@master - name: Set up Python ${{ matrix.version }} diff --git a/CHANGELOG.md b/CHANGELOG.md index e05bb06d0..149f2876b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,5 @@ # Change log - +- [#564](https://github.com/mobilityhouse/ocpp/issues/564) Add support For Python 3.11 and 3.12 - [#583](https://github.com/mobilityhouse/ocpp/issues/583) OCPP v1.6/v2.0.1 deprecate dataclasses from calls and call results with the suffix 'Payload' ## 0.26.0 (2024-01-17) diff --git a/ocpp/exceptions.py b/ocpp/exceptions.py index cefba9549..867b6a793 100644 --- a/ocpp/exceptions.py +++ b/ocpp/exceptions.py @@ -25,12 +25,12 @@ def __eq__(self, other): def __repr__(self): return ( - f"<{self.__class__.__name__} - description={self.description}," + f"<{self.__class__.__name__} - description={self.description}, " f" details={self.details}>" ) def __str__(self): - return f"{self.__class__.__name__}: {self.description}," f" {self.details}" + return f"{self.__class__.__name__}: {self.description}, " f" {self.details}" class NotImplementedError(OCPPError):