Skip to content

Commit efbff51

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent df9da90 commit efbff51

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

‎README.md‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,18 @@ It is available as:
2020

2121
```python
2222
import schemastore
23+
2324
registry = schemastore.registry()
2425
```
2526

2627
and use any of the API from the aforementioned referencing package to make use of the schemas, such as:
2728

2829
```python
29-
print(registry.get_or_retrieve("https://json.schemastore.org/github-action.json").value)
30-
30+
print(
31+
registry.get_or_retrieve(
32+
"https://json.schemastore.org/github-action.json"
33+
).value
34+
)
3135
```
3236

3337
though more typically you will use the registry alongside a JSON Schema validator such as those provided by the [`jsonschema` library](https://python-jsonschema.readthedocs.io/):

0 commit comments

Comments
 (0)