summaryrefslogtreecommitdiff
path: root/jsonschema/exceptions.py
diff options
context:
space:
mode:
authorJulian Berman <Julian@GrayVines.com>2021-08-04 10:29:44 +0100
committerJulian Berman <Julian@GrayVines.com>2021-08-04 10:29:44 +0100
commite908b8055596329f0b4ba1bc0dc1c793b437299f (patch)
treecb2bb0a41b6b8b8b26715e17bcdc944a676e29a1 /jsonschema/exceptions.py
parent39697cda809169cf7031839bb0174b5d8136029e (diff)
downloadjsonschema-draft2020-12.tar.gz
Fix missing trailing commas.draft2020-12
Add flake8-commas to ensure this stays the case.
Diffstat (limited to 'jsonschema/exceptions.py')
-rw-r--r--jsonschema/exceptions.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/jsonschema/exceptions.py b/jsonschema/exceptions.py
index 7f203cc..9cfbb7f 100644
--- a/jsonschema/exceptions.py
+++ b/jsonschema/exceptions.py
@@ -75,7 +75,7 @@ class _Error(Exception):
On %s%s:
%s
- """.rstrip()
+ """.rstrip(),
) % (
self.validator,
self._word_for_schema_in_error_message,
@@ -194,7 +194,7 @@ class UnknownType(Exception):
While checking instance:
%s
- """.rstrip()
+ """.rstrip(),
) % (
self.type,
textwrap.indent(pschema, " "),