Skip to content

Commit 82ba58a

Browse files
Merge branch 'rstudio:main' into feature/move-to-adaptor-backend
2 parents 13d356e + 71967fb commit 82ba58a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/code-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v4
1717
- uses: actions/setup-python@v4
18-
- uses: pre-commit/action@v2.0.3
18+
- uses: pre-commit/action@v3.0.1
1919

2020
pyright:
2121
name: "Run Pyright"

pins/boards.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -883,9 +883,10 @@ class BoardManual(BaseBoard):
883883
--------
884884
>>> import fsspec
885885
>>> import os
886-
>>> fs = fsspec.filesystem("github", org = "rstudio", repo = "pins-python")
886+
>>> fs = fsspec.filesystem("http", block_size=0)
887887
>>> pin_paths = {"df_csv": "df_csv/20220214T163720Z-9bfad/"}
888-
>>> board = BoardManual("pins/tests/pins-compat", fs, pin_paths=pin_paths)
888+
>>> url = "https://raw.githubusercontent.com/rstudio/pins-python/main/pins/tests/pins-compat"
889+
>>> board = BoardManual(url, fs, pin_paths=pin_paths)
889890
890891
>>> board.pin_list()
891892
['df_csv']
@@ -986,7 +987,6 @@ def construct_path(self, elements):
986987
return "/".join(pre_components + [pin_path])
987988
elif len(others) == 2:
988989
version, meta = others
989-
990990
return "/".join(pre_components + [stripped, meta])
991991

992992
raise NotImplementedError(

0 commit comments

Comments
 (0)