Update Ruff and fix its errors
This commit is contained in:
parent
c54ceeb7a8
commit
1424978854
39 changed files with 183 additions and 175 deletions
|
|
@ -9,7 +9,7 @@ logger: logging.Logger = logging.getLogger("ttvdrops.tasks")
|
|||
|
||||
|
||||
@shared_task(bind=True, queue="default", max_retries=3, default_retry_delay=300)
|
||||
def submit_indexnow_task(self) -> None: # noqa: ANN001
|
||||
def submit_indexnow_task(self) -> None: # ruff:ignore[missing-type-function-argument]
|
||||
"""Submit all site URLs to the IndexNow search index."""
|
||||
try:
|
||||
call_command("submit_indexnow")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue