From cd3d151e7e825d2f5acc9d36fd002764e56f2f49 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 15 Mar 2025 08:39:01 +0530 Subject: [PATCH] Silence spurious warning --- setup/publish.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/publish.py b/setup/publish.py index f6073461f3..679db64dcd 100644 --- a/setup/publish.py +++ b/setup/publish.py @@ -136,7 +136,7 @@ class PublishPreview(Command): sub_commands = ['stage1', 'stage2', 'sdist'] def pre_sub_commands(self, opts): - version = tuple(map(int, __version__.split('.'))) + version = tuple(map(int, __version__.split('.'))) # noqa: RUF048 if version[2] < 100: raise SystemExit('Must set calibre version to have patch level greater than 100') require_clean_git()