We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9259f2f commit daab081Copy full SHA for daab081
jupyter_releaser/util.py
@@ -42,8 +42,8 @@
42
RELEASE_API_PATTERN = "https://api.github.com/repos/(?P<owner>[^/]+)/(?P<repo>[^/]+)/releases/tags/(?P<tag>.*)"
43
44
45
-schema = files("jupyter_releaser").joinpath("schema.json").read_text()
46
-schema = json.loads(schema)
+SCHEMA = files("jupyter_releaser").joinpath("schema.json").read_text()
+SCHEMA = json.loads(SCHEMA)
47
48
49
def run(cmd, **kwargs):
@@ -292,6 +292,6 @@ def read_config():
292
config = data["jupyter-releaser"]
293
294
config = config or {}
295
- validator = Validator(schema)
+ validator = Validator(SCHEMA)
296
validator.validate(config)
297
return config
0 commit comments