Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
franzpoeschel committed Jun 26, 2023
1 parent a7fbb54 commit b6b057b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions share/openPMD/json_schema/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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',
Expand Down

0 comments on commit b6b057b

Please sign in to comment.