From dfc7cd58e7c5002558313bc3b4b3708e2bf5520e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Chaves?= Date: Wed, 19 Mar 2025 20:19:14 +0100 Subject: [PATCH] Fix issue reported by mypy --- scrapy/commands/check.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scrapy/commands/check.py b/scrapy/commands/check.py index 59c5ab9b5..8a3cf5078 100644 --- a/scrapy/commands/check.py +++ b/scrapy/commands/check.py @@ -107,10 +107,10 @@ class Command(ScrapyCommand): for method in sorted(methods): print(f" * {method}") else: - start = time.time() + start_time = time.time() self.crawler_process.start() stop = time.time() result.printErrors() - result.printSummary(start, stop) + result.printSummary(start_time, stop) self.exitcode = int(not result.wasSuccessful())