We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7ac878 commit 02174caCopy full SHA for 02174ca
jsonsubschema/_canonicalization.py
@@ -274,7 +274,7 @@ def rewrite_enum(d):
274
ret["anyOf"].append(
275
{"type": "integer", "minimum": i, "maximum": i})
276
elif numpy.isnan(i):
277
- ret["anyOf"].append({"type": "number", "enum":[numpy.NaN]})
+ ret["anyOf"].append({"type": "number", "enum": [numpy.NaN]})
278
else:
279
280
{"type": "number", "minimum": i, "maximum": i})
0 commit comments