File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 12
12
from typing import Mapping , Protocol , Sequence
13
13
14
14
from importlib_resources import files
15
+ from importlib_resources .abc import Traversable
15
16
16
17
from .cache import PinsCache
17
18
from .config import get_allow_rsc_short_name
@@ -994,8 +995,8 @@ class BoardRsConnect(BaseBoard):
994
995
# TODO: note that board is unused in this class (e.g. it's not in construct_path())
995
996
996
997
# 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"
999
1000
1000
1001
# defaults work ----
1001
1002
Original file line number Diff line number Diff line change @@ -100,7 +100,6 @@ pythonPlatform = "Linux"
100
100
101
101
# Tracking compliance with these rules at https://github.com/rstudio/pins-python/issues/272
102
102
reportArgumentType = false
103
- reportAssignmentType = false
104
103
reportAttributeAccessIssue = false
105
104
reportCallIssue = false
106
105
reportIncompatibleMethodOverride = false
You can’t perform that action at this time.
0 commit comments