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 @@ -144,7 +144,7 @@ def headless(self) -> bool:
144
144
warnings .warn (
145
145
"headless property is deprecated, instead check for '--headless' in arguments" ,
146
146
DeprecationWarning ,
147
- stacklevel = 2
147
+ stacklevel = 2 ,
148
148
)
149
149
return "--headless" in self ._arguments
150
150
@@ -161,7 +161,7 @@ def headless(self, value: bool) -> None:
161
161
warnings .warn (
162
162
"headless property is deprecated, instead use add_argument('--headless') or add_argument('--headless=new')" ,
163
163
DeprecationWarning ,
164
- stacklevel = 2
164
+ stacklevel = 2 ,
165
165
)
166
166
args = {"--headless" }
167
167
if value is True :
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ def headless(self) -> bool:
109
109
warnings .warn (
110
110
"headless property is deprecated, instead check for '-headless' in arguments" ,
111
111
DeprecationWarning ,
112
- stacklevel = 2
112
+ stacklevel = 2 ,
113
113
)
114
114
return "-headless" in self ._arguments
115
115
You can’t perform that action at this time.
0 commit comments