diff --git a/pyproject.toml b/pyproject.toml index 0606737fc6..ea8718e8a9 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 6cfda4774b..3355a1bf5b 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]