Skip to content

Commit cad077e

Browse files
authored
Merge branch 'master' into patch-1
2 parents 98abd0e + 057baef commit cad077e

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ repos:
1717
- id: check-added-large-files
1818
- id: check-case-conflict
1919
- repo: https://github.com/python-jsonschema/check-jsonschema
20-
rev: 0.31.3
20+
rev: 0.32.1
2121
hooks:
2222
- id: check-dependabot
2323
- id: check-github-workflows
@@ -47,7 +47,7 @@ repos:
4747
files: tools/schemacode
4848
args: ["--settings-file", "tools/schemacode/pyproject.toml"]
4949
- repo: https://github.com/pyCQA/flake8
50-
rev: 7.1.2
50+
rev: 7.2.0
5151
hooks:
5252
- id: flake8
5353
args: [--config=tools/schemacode/.flake8]
@@ -58,7 +58,7 @@ repos:
5858
entry: env PRETTIER_LEGACY_CLI=1 prettier # temporary fix for https://github.com/prettier/prettier/issues/15742
5959
files: src/schema/.*/.*\.yaml
6060
- repo: https://github.com/adrienverge/yamllint
61-
rev: v1.36.2
61+
rev: v1.37.0
6262
hooks:
6363
- id: yamllint
6464
args: [-f=standard, -c=.yamllint.yml]

tools/schemacode/src/bidsschematools/schema.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,12 +180,12 @@ def flatten_enums(namespace, inplace=True):
180180

181181
@lru_cache
182182
def load_schema(schema_path=None):
183-
"""Load the schema into a dictionary.
183+
"""Load the schema into a dict-like structure.
184184
185185
This function allows the schema, like BIDS itself, to be specified in
186186
a hierarchy of directories and files.
187187
Filenames (minus extensions) and directory names become keys
188-
in the associative array (dict) of entries composed from content
188+
in the associative array (dict) of entries composed of content
189189
of files and entire directories.
190190
191191
Parameters
@@ -196,8 +196,8 @@ def load_schema(schema_path=None):
196196
197197
Returns
198198
-------
199-
dict
200-
Schema in dictionary form.
199+
Namespace
200+
Schema in a dict-like structure.
201201
202202
Notes
203203
-----

0 commit comments

Comments
 (0)