MAINT hide jsdoc_dump.json from grep results [skip ci] (#1531)

This commit is contained in:
Roman Yurchak 2021-04-22 21:58:20 +02:00 committed by GitHub
parent 9795efbfc2
commit 2a906bd489
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -1,6 +1,7 @@
import pathlib
import sys
import json
import gzip
from docutils.utils import new_document
from docutils.frontend import OptionParser
@ -10,7 +11,8 @@ from sphinx_js.jsdoc import Analyzer as JsAnalyzer
test_directory = pathlib.Path(__file__).resolve().parent
sys.path.append(str(test_directory.parent))
jsdoc_json = json.loads((test_directory / "jsdoc_dump.json").read_text())
with gzip.open(test_directory / "jsdoc_dump.json.gz") as fh:
jsdoc_json = json.load(fh)
settings_json = json.loads((test_directory / "app_settings.json").read_text())
from sphinx_pyodide.jsdoc import (