File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1212from typing import Mapping , Protocol , Sequence
1313
1414from importlib_resources import files
15+ from importlib_resources .abc import Traversable
1516
1617from .cache import PinsCache
1718from .config import get_allow_rsc_short_name
@@ -994,8 +995,8 @@ class BoardRsConnect(BaseBoard):
994995 # TODO: note that board is unused in this class (e.g. it's not in construct_path())
995996
996997 # TODO: should read template dynamically, not at class def'n time
997- html_assets_dir : Path = files ("pins" ) / "rsconnect/html"
998- html_template : Path = files ("pins" ) / "rsconnect/html/index.html"
998+ html_assets_dir : Traversable = files ("pins" ) / "rsconnect/html"
999+ html_template : Traversable = files ("pins" ) / "rsconnect/html/index.html"
9991000
10001001 # defaults work ----
10011002
Original file line number Diff line number Diff line change @@ -100,7 +100,6 @@ pythonPlatform = "Linux"
100100
101101# Tracking compliance with these rules at https://github.com/rstudio/pins-python/issues/272
102102reportArgumentType = false
103- reportAssignmentType = false
104103reportAttributeAccessIssue = false
105104reportCallIssue = false
106105reportIncompatibleMethodOverride = false
You can’t perform that action at this time.
0 commit comments