Skip to content

Commit

Permalink
Validate project against Python 3.11 and Python 3.112 . (mobilityhous…
Browse files Browse the repository at this point in the history
  • Loading branch information
Jared-Newell-Mobility authored Feb 5, 2024
1 parent 7e3e242 commit 55d1ce4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
4 changes: 2 additions & 2 deletions ocpp/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 55d1ce4

Please sign in to comment.