Remove noqas for ARG001
This commit is contained in:
parent
be7c4c170a
commit
6703937dc8
2 changed files with 2 additions and 2 deletions
|
|
@ -21,7 +21,7 @@ class FeedVaultConfig(AppConfig):
|
|||
|
||||
|
||||
@receiver(signal=connection_created)
|
||||
def activate_wal(sender: DatabaseWrapper, connection: DatabaseWrapper, **kwargs: dict) -> None: # noqa: ARG001
|
||||
def activate_wal(sender: DatabaseWrapper, connection: DatabaseWrapper, **kwargs: dict) -> None:
|
||||
"""Activate Write-Ahead Logging (WAL) for SQLite databases.
|
||||
|
||||
WAL mode allows for concurrent reads and writes to the database.
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ if TYPE_CHECKING:
|
|||
from django.http import HttpRequest
|
||||
|
||||
|
||||
def add_global_context(request: HttpRequest) -> dict[str, str | int]: # noqa: ARG001
|
||||
def add_global_context(request: HttpRequest) -> dict[str, str | int]:
|
||||
"""Add global context to all templates.
|
||||
|
||||
Args:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue