File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 15
15
steps :
16
16
- uses : actions/checkout@v4
17
17
- uses : actions/setup-python@v4
18
- - uses : pre-commit/action@v2 .0.3
18
+ - uses : pre-commit/action@v3 .0.1
19
19
20
20
pyright :
21
21
name : " Run Pyright"
Original file line number Diff line number Diff line change @@ -883,9 +883,10 @@ class BoardManual(BaseBoard):
883
883
--------
884
884
>>> import fsspec
885
885
>>> import os
886
- >>> fs = fsspec.filesystem("github ", org = "rstudio", repo = "pins-python" )
886
+ >>> fs = fsspec.filesystem("http ", block_size=0 )
887
887
>>> 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)
889
890
890
891
>>> board.pin_list()
891
892
['df_csv']
@@ -986,7 +987,6 @@ def construct_path(self, elements):
986
987
return "/" .join (pre_components + [pin_path ])
987
988
elif len (others ) == 2 :
988
989
version , meta = others
989
-
990
990
return "/" .join (pre_components + [stripped , meta ])
991
991
992
992
raise NotImplementedError (
You can’t perform that action at this time.
0 commit comments