Skip to content

Commit 6e485b6

Browse files
authored
Fix linting
1 parent 77ebac6 commit 6e485b6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

ocpp/messages.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -218,13 +218,11 @@ def validate_payload(message: Union[Call, CallResult], ocpp_version: str) -> Non
218218
)
219219
except OSError:
220220
raise ValidationError(
221-
f"JSON validation schema not found "
222-
f"for action: {message.action}"
221+
f"JSON validation schema not found for action: {message.action}"
223222
)
224223
except json.JSONDecodeError:
225224
raise ValidationError(
226-
f"Error in decoding JSON validation schema "
227-
f"for action: {message.action}"
225+
f"Error in decoding JSON validation schema for action: {message.action}"
228226
)
229227

230228
try:

0 commit comments

Comments
 (0)