Skip to content

Commit be02f73

Browse files
committed
style: refactor method signatures for improved readability and style
1 parent 7f2262b commit be02f73

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pydoll/browser/chromium/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ async def disable_runtime_events(self):
429429
"""Disable runtime events."""
430430
return await self._connection_handler.execute_command(RuntimeCommands.disable())
431431

432-
async def continue_request( # noqa: PLR0913, PLR0917
432+
async def continue_request(
433433
self,
434434
request_id: str,
435435
url: Optional[str] = None,

pydoll/commands/network_commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ def set_cache_disabled(cache_disabled: bool) -> SetCacheDisabledCommand:
313313
return Command(method=NetworkMethod.SET_CACHE_DISABLED, params=params)
314314

315315
@staticmethod
316-
def set_cookie( # noqa: PLR0913, PLR0917
316+
def set_cookie(
317317
name: str,
318318
value: str,
319319
url: Optional[str] = None,

pydoll/commands/page_commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ def navigate_to_history_entry(entry_id: int) -> NavigateToHistoryEntryCommand:
374374
return Command(method=PageMethod.NAVIGATE_TO_HISTORY_ENTRY, params=params)
375375

376376
@staticmethod
377-
def print_to_pdf( # noqa: PLR0912, PLR0917, PLR0913
377+
def print_to_pdf( # noqa: PLR0912
378378
landscape: Optional[bool] = None,
379379
display_header_footer: Optional[bool] = None,
380380
print_background: Optional[bool] = None,

0 commit comments

Comments
 (0)