Skip to content

Commit 5951177

Browse files
committed
chore: format to pass new black version
1 parent 4c57200 commit 5951177

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

pins/constructors.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def board_deparse(board: BaseBoard):
2828
2929
Examples
3030
--------
31-
31+
3232
The example below deparses a board connected to RStudio Connect.
3333
3434
>>> board_deparse(board_rsconnect(server_url="http://example.com", api_key="xxx"))
@@ -47,7 +47,7 @@ def board_deparse(board: BaseBoard):
4747
"board_folder('a/b/c', allow_pickle_read=True)"
4848
"""
4949
if board.allow_pickle_read is not None:
50-
allow_pickle = f", allow_pickle_read={repr(board.allow_pickle_read)}"
50+
allow_pickle = f", allow_pickle_read={repr(board.allow_pickle_read)}"
5151
else:
5252
allow_pickle = ""
5353

pins/meta.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,7 @@ def to_pin_yaml(self, *args, **kwargs):
150150

151151

152152
class MetaFactory:
153-
"""Responsible for creating and loading (e.g. from yaml) of meta objects.
154-
155-
"""
153+
"""Responsible for creating and loading (e.g. from yaml) of meta objects."""
156154

157155
def get_meta_name(self, *args, **kwargs) -> str:
158156
return META_FILENAME

pins/tests/test_boards.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,10 @@ def test_board_pin_search_name(board, df, search, matches):
308308
def test_board_base_pin_meta_cache_touch(tmp_dir2, df):
309309

310310
cache = fsspec.filesystem(
311-
"pinscache", target_protocol="file", same_names=True, hash_prefix=str(tmp_dir2),
311+
"pinscache",
312+
target_protocol="file",
313+
same_names=True,
314+
hash_prefix=str(tmp_dir2),
312315
)
313316
board = BaseBoard(str(tmp_dir2), fs=cache)
314317

0 commit comments

Comments
 (0)