Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 16, 2024
1 parent 09d1157 commit c0f1e30
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions starfyre/dist_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@
def write_python_client_file(path: Path):
dist_path = Path(path) / "dist"
dist_path.mkdir(exist_ok=True)
with pkg_resources.path("starfyre.js", "store.py") as store_py, pkg_resources.path(
"starfyre.js", "dom_helpers.py"
) as dom_helpers, pkg_resources.path("starfyre.js", "starfyre.py") as starfyre:
with (
pkg_resources.path("starfyre.js", "store.py") as store_py,
pkg_resources.path("starfyre.js", "dom_helpers.py") as dom_helpers,
pkg_resources.path("starfyre.js", "starfyre.py") as starfyre,
):
store_path = dist_path / "store.py"
shutil.copy(str(store_py), str(store_path))
dom_helpers_path = dist_path / "dom_helpers.py"
Expand Down

0 comments on commit c0f1e30

Please sign in to comment.