From ad5b0babd7405f8740be9e1cb65a11feaf60915e Mon Sep 17 00:00:00 2001 From: Takeshi KOMIYA Date: Sat, 6 Feb 2021 01:31:22 +0900 Subject: [PATCH] refactor: linkcheck: Remove unused attribute HyperlinkAvailabilityCheckWorker.app --- sphinx/builders/linkcheck.py | 1 - 1 file changed, 1 deletion(-) diff --git a/sphinx/builders/linkcheck.py b/sphinx/builders/linkcheck.py index 590eec201..659305d32 100644 --- a/sphinx/builders/linkcheck.py +++ b/sphinx/builders/linkcheck.py @@ -277,7 +277,6 @@ class HyperlinkAvailabilityCheckWorker(Thread): """A worker class for checking the availability of hyperlinks.""" def __init__(self, builder: CheckExternalLinksBuilder) -> None: - self.app = builder.app self.anchors_ignore = builder.anchors_ignore self.auth = builder.auth self.config = builder.config