diff options
author | Julian Berman <Julian@GrayVines.com> | 2021-08-04 10:29:44 +0100 |
---|---|---|
committer | Julian Berman <Julian@GrayVines.com> | 2021-08-04 10:29:44 +0100 |
commit | e908b8055596329f0b4ba1bc0dc1c793b437299f (patch) | |
tree | cb2bb0a41b6b8b8b26715e17bcdc944a676e29a1 /jsonschema/cli.py | |
parent | 39697cda809169cf7031839bb0174b5d8136029e (diff) | |
download | jsonschema-draft2020-12.tar.gz |
Fix missing trailing commas.draft2020-12
Add flake8-commas to ensure this stays the case.
Diffstat (limited to 'jsonschema/cli.py')
-rw-r--r-- | jsonschema/cli.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jsonschema/cli.py b/jsonschema/cli.py index a6ca43c..cfad6d1 100644 --- a/jsonschema/cli.py +++ b/jsonschema/cli.py @@ -201,7 +201,7 @@ def parse_args(args): arguments = vars(parser.parse_args(args=args or ["--help"])) if arguments["output"] != "plain" and arguments["error_format"]: raise parser.error( - "--error-format can only be used with --output plain" + "--error-format can only be used with --output plain", ) if arguments["output"] == "plain" and arguments["error_format"] is None: arguments["error_format"] = "{error.instance}: {error.message}\n" |