repo-review 0.10.6__py3-none-any.whl → 0.11.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- repo_review/_version.py +2 -2
- repo_review/ghpath.py +7 -1
- {repo_review-0.10.6.dist-info → repo_review-0.11.0.dist-info}/METADATA +1 -1
- {repo_review-0.10.6.dist-info → repo_review-0.11.0.dist-info}/RECORD +7 -7
- {repo_review-0.10.6.dist-info → repo_review-0.11.0.dist-info}/WHEEL +0 -0
- {repo_review-0.10.6.dist-info → repo_review-0.11.0.dist-info}/entry_points.txt +0 -0
- {repo_review-0.10.6.dist-info → repo_review-0.11.0.dist-info}/licenses/LICENSE +0 -0
repo_review/_version.py
CHANGED
repo_review/ghpath.py
CHANGED
@@ -7,6 +7,7 @@ from __future__ import annotations
|
|
7
7
|
import dataclasses
|
8
8
|
import io
|
9
9
|
import json
|
10
|
+
import sys
|
10
11
|
import typing
|
11
12
|
from collections.abc import Iterator
|
12
13
|
from typing import Literal
|
@@ -47,7 +48,12 @@ class GHPath(Traversable):
|
|
47
48
|
|
48
49
|
@staticmethod
|
49
50
|
def open_url(url: str) -> io.StringIO:
|
50
|
-
"This method can be overridden for
|
51
|
+
"This method can be overridden manually for WASM. Supports pyodide currently."
|
52
|
+
if sys.platform == "emscripten":
|
53
|
+
import pyodide.http
|
54
|
+
|
55
|
+
return pyodide.http.open_url(url)
|
56
|
+
|
51
57
|
import urllib.request # pylint: disable=import-outside-toplevel
|
52
58
|
|
53
59
|
with urllib.request.urlopen(url) as response:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: repo_review
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.11.0
|
4
4
|
Summary: Framework that can run checks on repos
|
5
5
|
Project-URL: Changelog, https://github.com/scientific-python/repo-review/releases
|
6
6
|
Project-URL: Demo, https://scientific-python.github.io/repo-review
|
@@ -1,11 +1,11 @@
|
|
1
1
|
repo_review/__init__.py,sha256=U03wTpj7PjSsIROp8O4VRG_NVG-plkx14d_MvqpmJ_w,229
|
2
2
|
repo_review/__main__.py,sha256=YG78gWDM5ExHNTEhdtMNGvJBV44JU_IkR5mc_3a5fqs,12262
|
3
|
-
repo_review/_version.py,sha256=
|
3
|
+
repo_review/_version.py,sha256=HrIG2j3UEFJj4bW1AIsrTZ8_qquvls9ziUAr-b-m7iQ,413
|
4
4
|
repo_review/_version.pyi,sha256=j5kbzfm6lOn8BzASXWjGIA1yT0OlHTWqlbyZ8Si_o0E,118
|
5
5
|
repo_review/checks.py,sha256=hIwQARm0JESf0yMCfjR5jaI-AdnCO7ePTY28eQ2iOy4,4340
|
6
6
|
repo_review/families.py,sha256=TEMQY3whMj8b3iVlWyVsTa0CAZexXRCFXq5uPIkV6bs,2389
|
7
7
|
repo_review/fixtures.py,sha256=AHdUhDU--SOrlhWSymiyECp5LmaCGYNRcZHuPpzFUts,3709
|
8
|
-
repo_review/ghpath.py,sha256=
|
8
|
+
repo_review/ghpath.py,sha256=YadsOkd2hGOrDffSU3PtQiDLgvrVe1GuMKeDFKXwtLs,6123
|
9
9
|
repo_review/html.py,sha256=LwoZUqiWC84qSuhwbzqQtwhWDhE8JiPWWTI4nKXF3nA,3485
|
10
10
|
repo_review/processor.py,sha256=2NSbuC7jt_eMjIB9VpY0c5-TtKr9GWzA8Gr6Pvj2SqU,7951
|
11
11
|
repo_review/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -19,8 +19,8 @@ repo_review/_compat/importlib/resources/__init__.py,sha256=47DEQpj8HBSa-_TImW-5J
|
|
19
19
|
repo_review/_compat/importlib/resources/abc.py,sha256=KLv7AqUaY-ezZ32lA5yVcZLfMqY6VEo8Q-1jyWpGRbk,300
|
20
20
|
repo_review/resources/__init__.py,sha256=RBBaUp-hQrIYBqbAT0MytCXEjDmqVsCjiEgdK_K3dN4,138
|
21
21
|
repo_review/resources/repo-review.schema.json,sha256=Ljna-BRuoKihOnJ5_78Fgs0ZrYHlgohmtS6x37TJbDg,556
|
22
|
-
repo_review-0.
|
23
|
-
repo_review-0.
|
24
|
-
repo_review-0.
|
25
|
-
repo_review-0.
|
26
|
-
repo_review-0.
|
22
|
+
repo_review-0.11.0.dist-info/METADATA,sha256=KbsSwIu3142cRcV_SKA5ubvX6EvzU65OOlylD7ucIeI,11370
|
23
|
+
repo_review-0.11.0.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
|
24
|
+
repo_review-0.11.0.dist-info/entry_points.txt,sha256=9XaDWanm31NNpXOpjZh2HxSXR5owVdYJ2cbNG5D8wY8,244
|
25
|
+
repo_review-0.11.0.dist-info/licenses/LICENSE,sha256=X7yOxzyAEckYl17p01lZzbraqDVmWEWXE8BnKKRrh7c,1525
|
26
|
+
repo_review-0.11.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|