From 024b9cc0fd278c56887b589b39fc9322049b6e35 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 27 Jan 2025 11:12:08 +0530 Subject: [PATCH] Remove unneeded exclusion --- pyproject.toml | 1 - src/calibre/devices/kobo/driver.py | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 0606737fc64d..ea8718e8a910 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -50,7 +50,6 @@ unfixable = ['PIE794', 'ISC001'] "manual/plugin_examples/*" = ['UP'] "setup/changelog.py" = ['ISC001'] "src/calibre/*" = ['UP031'] -"src/calibre/devices/kobo/driver.py" = ['E116'] "src/calibre/ebooks/unihandecode/*codepoints.py" = ['E501'] "src/calibre/ebooks/metadata/sources/*" = ['UP'] "src/calibre/ebooks/metadata/sources/base.py" = ['RET501'] diff --git a/src/calibre/devices/kobo/driver.py b/src/calibre/devices/kobo/driver.py index 6cfda4774bad..3355a1bf5bc7 100644 --- a/src/calibre/devices/kobo/driver.py +++ b/src/calibre/devices/kobo/driver.py @@ -1487,8 +1487,9 @@ class KOBOTOUCH(KOBO): SAGE_PRODUCT_ID = [0x4231] TOUCH_PRODUCT_ID = [0x4163] TOUCH2_PRODUCT_ID = [0x4224] - LIBRA_COLOR_PRODUCT_ID = [0x4237] # This is shared by Kobo Libra Color, Clara Color and Clara BW - # as well as tolino shine 5, shine color and vision color. Sigh. + # This product id is shared by Kobo Libra Color, Clara Color and Clara BW + # as well as tolino shine 5, shine color and vision color. Sigh. + LIBRA_COLOR_PRODUCT_ID = [0x4237] # Kobo says the following will be used in future firmware (end 2024/2025) CLARA_COLOR_PRODUCT_ID = [0x4238] CLARA_BW_PRODUCT_ID = [0x4239]