mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Silence spurious warning
This commit is contained in:
parent
464b68bd98
commit
cd3d151e7e
@ -136,7 +136,7 @@ class PublishPreview(Command):
|
|||||||
sub_commands = ['stage1', 'stage2', 'sdist']
|
sub_commands = ['stage1', 'stage2', 'sdist']
|
||||||
|
|
||||||
def pre_sub_commands(self, opts):
|
def pre_sub_commands(self, opts):
|
||||||
version = tuple(map(int, __version__.split('.')))
|
version = tuple(map(int, __version__.split('.'))) # noqa: RUF048
|
||||||
if version[2] < 100:
|
if version[2] < 100:
|
||||||
raise SystemExit('Must set calibre version to have patch level greater than 100')
|
raise SystemExit('Must set calibre version to have patch level greater than 100')
|
||||||
require_clean_git()
|
require_clean_git()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user