Skip to content

Commit daab081

Browse files
committed
Capitalize schema var name
1 parent 9259f2f commit daab081

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

jupyter_releaser/util.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242
RELEASE_API_PATTERN = "https://api.github.com/repos/(?P<owner>[^/]+)/(?P<repo>[^/]+)/releases/tags/(?P<tag>.*)"
4343

4444

45-
schema = files("jupyter_releaser").joinpath("schema.json").read_text()
46-
schema = json.loads(schema)
45+
SCHEMA = files("jupyter_releaser").joinpath("schema.json").read_text()
46+
SCHEMA = json.loads(SCHEMA)
4747

4848

4949
def run(cmd, **kwargs):
@@ -292,6 +292,6 @@ def read_config():
292292
config = data["jupyter-releaser"]
293293

294294
config = config or {}
295-
validator = Validator(schema)
295+
validator = Validator(SCHEMA)
296296
validator.validate(config)
297297
return config

0 commit comments

Comments
 (0)