File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 21
21
- id : trailing-whitespace
22
22
23
23
- repo : https://github.com/python-jsonschema/check-jsonschema
24
- rev : 0.27.3
24
+ rev : 0.27.4
25
25
hooks :
26
26
- id : check-github-workflows
27
27
73
73
]
74
74
75
75
- repo : https://github.com/astral-sh/ruff-pre-commit
76
- rev : v0.1.9
76
+ rev : v0.2.0
77
77
hooks :
78
78
- id : ruff
79
79
types_or : [python, jupyter]
84
84
exclude : " ^tests/files/.*.ipynb"
85
85
86
86
- repo : https://github.com/scientific-python/cookie
87
- rev : " 2023.12.21 "
87
+ rev : " 2024.01.24 "
88
88
hooks :
89
89
- id : sp-repo-review
90
90
additional_dependencies : ["repo-review[cli]"]
Original file line number Diff line number Diff line change @@ -1206,7 +1206,7 @@ def handle_comm_msg(
1206
1206
data = content ["data" ]
1207
1207
if self .store_widget_state and "state" in data : # ignore custom msg'es
1208
1208
self .widget_state .setdefault (content ["comm_id" ], {}).update (data ["state" ])
1209
- if "buffer_paths" in data and data [ "buffer_paths" ] :
1209
+ if data . get ( "buffer_paths" ) :
1210
1210
comm_id = content ["comm_id" ]
1211
1211
if comm_id not in self .widget_buffers :
1212
1212
self .widget_buffers [comm_id ] = {}
You can’t perform that action at this time.
0 commit comments