File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
tools/schemacode/src/bidsschematools Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 17
17
- id : check-added-large-files
18
18
- id : check-case-conflict
19
19
- repo : https://github.com/python-jsonschema/check-jsonschema
20
- rev : 0.31.3
20
+ rev : 0.32.1
21
21
hooks :
22
22
- id : check-dependabot
23
23
- id : check-github-workflows
47
47
files : tools/schemacode
48
48
args : ["--settings-file", "tools/schemacode/pyproject.toml"]
49
49
- repo : https://github.com/pyCQA/flake8
50
- rev : 7.1.2
50
+ rev : 7.2.0
51
51
hooks :
52
52
- id : flake8
53
53
args : [--config=tools/schemacode/.flake8]
58
58
entry : env PRETTIER_LEGACY_CLI=1 prettier # temporary fix for https://github.com/prettier/prettier/issues/15742
59
59
files : src/schema/.*/.*\.yaml
60
60
- repo : https://github.com/adrienverge/yamllint
61
- rev : v1.36.2
61
+ rev : v1.37.0
62
62
hooks :
63
63
- id : yamllint
64
64
args : [-f=standard, -c=.yamllint.yml]
Original file line number Diff line number Diff line change @@ -180,12 +180,12 @@ def flatten_enums(namespace, inplace=True):
180
180
181
181
@lru_cache
182
182
def load_schema (schema_path = None ):
183
- """Load the schema into a dictionary .
183
+ """Load the schema into a dict-like structure .
184
184
185
185
This function allows the schema, like BIDS itself, to be specified in
186
186
a hierarchy of directories and files.
187
187
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
189
189
of files and entire directories.
190
190
191
191
Parameters
@@ -196,8 +196,8 @@ def load_schema(schema_path=None):
196
196
197
197
Returns
198
198
-------
199
- dict
200
- Schema in dictionary form .
199
+ Namespace
200
+ Schema in a dict-like structure .
201
201
202
202
Notes
203
203
-----
You can’t perform that action at this time.
0 commit comments