From b6b057b87c05da3961138c62d6015dd186c6af8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20P=C3=B6schel?= Date: Mon, 26 Jun 2023 15:02:11 +0200 Subject: [PATCH] Formatting --- share/openPMD/json_schema/check.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/share/openPMD/json_schema/check.py b/share/openPMD/json_schema/check.py index 90be12f99b..07f76b6ce0 100755 --- a/share/openPMD/json_schema/check.py +++ b/share/openPMD/json_schema/check.py @@ -23,8 +23,8 @@ def parse_args(program_name): schema consists of several JSON files and this script ensures that cross-referencing is set up correctly. -Note that the JSON schema is shipped in form of .toml files for ease of reading, -maintenance and documentation. +Note that the JSON schema is shipped in form of .toml files for ease +of reading, maintenance and documentation. In order to perform a check, the .toml files need to be converted to .json first. The openPMD-api install a tool openpmd-convert-json-toml for this purpose. @@ -40,8 +40,9 @@ def parse_args(program_name): parser.add_argument( '--schema_root', default=script_path / 'series.json', - help= - 'The .json file describing the root file of the schema to validate against.' + help="""\ +The .json file describing the root file of the schema to validate against. +""" ) parser.add_argument('openpmd_file', metavar='file',