htmltools
Advanced tools
| Metadata-Version: 2.1 | ||
| Name: htmltools | ||
| Version: 0.5.1 | ||
| Version: 0.5.2 | ||
| Summary: Tools for HTML generation and output. | ||
@@ -52,7 +52,7 @@ Author-email: Carson Sievert <carson@rstudio.com> | ||
| Provides-Extra: dev | ||
| Requires-Dist: black>=23.1.0; extra == "dev" | ||
| Requires-Dist: black>=24.2.0; extra == "dev" | ||
| Requires-Dist: flake8>=6.0.0; extra == "dev" | ||
| Requires-Dist: Flake8-pyproject; extra == "dev" | ||
| Requires-Dist: isort>=5.11.2; extra == "dev" | ||
| Requires-Dist: pyright>=1.1.334; extra == "dev" | ||
| Requires-Dist: pyright>=1.1.348; extra == "dev" | ||
| Requires-Dist: pre-commit>=2.15.0; extra == "dev" | ||
@@ -59,0 +59,0 @@ Requires-Dist: wheel; extra == "dev" |
@@ -5,7 +5,7 @@ typing-extensions>=3.10.0.0 | ||
| [dev] | ||
| black>=23.1.0 | ||
| black>=24.2.0 | ||
| flake8>=6.0.0 | ||
| Flake8-pyproject | ||
| isort>=5.11.2 | ||
| pyright>=1.1.334 | ||
| pyright>=1.1.348 | ||
| pre-commit>=2.15.0 | ||
@@ -12,0 +12,0 @@ wheel |
@@ -1,2 +0,2 @@ | ||
| __version__ = "0.5.1" | ||
| __version__ = "0.5.2" | ||
@@ -3,0 +3,0 @@ from . import svg, tags |
+10
-10
@@ -136,4 +136,3 @@ # pyright: reportMissingTypeStubs=false, reportMissingImports=false | ||
| def tagify(self) -> "TagList | Tag | MetadataNode | str": | ||
| ... | ||
| def tagify(self) -> "TagList | Tag | MetadataNode | str": ... | ||
@@ -152,4 +151,3 @@ | ||
| **kwargs: TagAttrValue, | ||
| ) -> "Tag": | ||
| ... | ||
| ) -> "Tag": ... | ||
@@ -163,4 +161,3 @@ | ||
| def _repr_html_(self) -> str: | ||
| ... | ||
| def _repr_html_(self) -> str: ... | ||
@@ -589,3 +586,3 @@ | ||
| # takes a object. | ||
| self.append # pyright: ignore[reportGeneralTypeIssues] | ||
| self.append # pyright: ignore[reportArgumentType] | ||
| ) | ||
@@ -1616,3 +1613,3 @@ | ||
| src_file = os.path.join(paths["source"], f) | ||
| if not os.path.isfile(src_file): | ||
| if not os.path.exists(src_file): | ||
| raise Exception( | ||
@@ -1634,3 +1631,6 @@ f"Failed to copy HTML dependency {self.name}-{str(self.version)} " | ||
| os.makedirs(os.path.dirname(target_file), exist_ok=True) | ||
| shutil.copy2(src_file, target_file) | ||
| if os.path.isfile(src_file): | ||
| shutil.copy2(src_file, target_file) | ||
| elif os.path.isdir(src_file): | ||
| shutil.copytree(src_file, target_file) | ||
@@ -1749,3 +1749,3 @@ def _validate_dicts(self, ld: Iterable[object], req_attr: list[str]) -> None: | ||
| ipy = ( # pyright: ignore[reportUnknownVariableType] | ||
| IPython.get_ipython() # pyright: ignore[reportUnknownMemberType] | ||
| IPython.get_ipython() # pyright: ignore[reportUnknownMemberType, reportPrivateImportUsage] | ||
| ) | ||
@@ -1752,0 +1752,0 @@ renderer = "ipython" if ipy else "browser" |
@@ -7,2 +7,3 @@ """ | ||
| """ | ||
| from __future__ import annotations | ||
@@ -9,0 +10,0 @@ |
+132
-132
@@ -31,7 +31,7 @@ # Do not edit by hand; this file is generated by ./scripts/generate_tags.py | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -60,7 +60,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -89,7 +89,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -118,7 +118,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -147,7 +147,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -176,7 +176,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -205,7 +205,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -234,7 +234,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -263,7 +263,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -292,7 +292,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -321,7 +321,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -350,7 +350,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -379,7 +379,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -408,7 +408,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -437,7 +437,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -466,7 +466,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -495,7 +495,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -524,7 +524,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -553,7 +553,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -582,7 +582,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -611,7 +611,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -640,7 +640,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -669,7 +669,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -698,7 +698,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -727,7 +727,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -756,7 +756,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -785,7 +785,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -814,7 +814,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -843,7 +843,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -872,7 +872,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -901,7 +901,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -930,7 +930,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -959,7 +959,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -988,7 +988,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -1017,7 +1017,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -1046,7 +1046,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -1075,7 +1075,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -1104,7 +1104,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -1133,7 +1133,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -1162,7 +1162,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -1191,7 +1191,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -1220,7 +1220,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -1249,7 +1249,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -1278,7 +1278,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -1307,7 +1307,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -1336,7 +1336,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -1365,7 +1365,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -1394,7 +1394,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -1423,7 +1423,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -1452,7 +1452,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -1481,7 +1481,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -1510,7 +1510,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -1539,7 +1539,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -1568,7 +1568,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -1597,7 +1597,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -1626,7 +1626,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -1655,7 +1655,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -1684,7 +1684,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -1713,7 +1713,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -1742,7 +1742,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -1771,7 +1771,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -1800,7 +1800,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -1829,7 +1829,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -1858,7 +1858,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -1887,7 +1887,7 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
@@ -1916,9 +1916,9 @@ | ||
| : | ||
| A :func:`~htmltools.Tag` object. | ||
| A :class:`~htmltools.Tag` object. | ||
| See Also | ||
| -------- | ||
| ~htmltools.Tag | ||
| * :class:`~htmltools.Tag` | ||
| """ | ||
| return Tag("view", *args, _add_ws=_add_ws, **kwargs) |
+3
-3
| Metadata-Version: 2.1 | ||
| Name: htmltools | ||
| Version: 0.5.1 | ||
| Version: 0.5.2 | ||
| Summary: Tools for HTML generation and output. | ||
@@ -52,7 +52,7 @@ Author-email: Carson Sievert <carson@rstudio.com> | ||
| Provides-Extra: dev | ||
| Requires-Dist: black>=23.1.0; extra == "dev" | ||
| Requires-Dist: black>=24.2.0; extra == "dev" | ||
| Requires-Dist: flake8>=6.0.0; extra == "dev" | ||
| Requires-Dist: Flake8-pyproject; extra == "dev" | ||
| Requires-Dist: isort>=5.11.2; extra == "dev" | ||
| Requires-Dist: pyright>=1.1.334; extra == "dev" | ||
| Requires-Dist: pyright>=1.1.348; extra == "dev" | ||
| Requires-Dist: pre-commit>=2.15.0; extra == "dev" | ||
@@ -59,0 +59,0 @@ Requires-Dist: wheel; extra == "dev" |
+3
-3
@@ -46,7 +46,7 @@ [build-system] | ||
| dev = [ | ||
| "black>=23.1.0", | ||
| "black>=24.2.0", | ||
| "flake8>=6.0.0", | ||
| "Flake8-pyproject", | ||
| "isort>=5.11.2", | ||
| "pyright>=1.1.334", | ||
| "pyright>=1.1.348", | ||
| "pre-commit>=2.15.0", | ||
@@ -69,3 +69,3 @@ "wheel", | ||
| [tool.flake8] | ||
| ignore = "E203, E302, E402, E501, F403, F405, W503" | ||
| ignore = "E203, E302, E402, E501, E704, F403, F405, W503" | ||
| extend-exclude = "docs, .venv, venv, typings, e2e, build" | ||
@@ -72,0 +72,0 @@ |
+12
-0
@@ -357,1 +357,13 @@ import tempfile | ||
| assert (Path(tmpdir4) / "w-1.0" / "testdep.js").exists() | ||
| with tempfile.TemporaryDirectory() as tmpdir5: | ||
| path_testdep_nested = Path(__file__).parent / "assets" / "testdep-nested" | ||
| dep5 = HTMLDependency( | ||
| "w", | ||
| "1.0", | ||
| source={"subdir": str(path_testdep_nested)}, | ||
| all_files=True, | ||
| ) | ||
| dep5.copy_to(tmpdir5) | ||
| assert (Path(tmpdir5) / "w-1.0" / "css" / "my-styles.css").exists() | ||
| assert (Path(tmpdir5) / "w-1.0" / "js" / "my-js.js").exists() |
@@ -102,3 +102,3 @@ import copy | ||
| x4.add_style("color: red") | ||
| assert False, "Expected ValueError for missing semicolon" | ||
| raise AssertionError("Expected ValueError for missing semicolon") | ||
| except ValueError as e: | ||
@@ -105,0 +105,0 @@ assert "must end with a semicolon" in str(e) |
Sorry, the diff of this file is too big to display
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
414184
0.67%8057
0.14%