diff --git a/lib/hidapi/__init__.py b/lib/hidapi/__init__.py index 59f1a6fb..e9db82dc 100644 --- a/lib/hidapi/__init__.py +++ b/lib/hidapi/__init__.py @@ -17,8 +17,6 @@ ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. """Generic Human Interface Device API.""" -from __future__ import absolute_import, division, print_function, unicode_literals - from hidapi.udev import close # noqa: F401 from hidapi.udev import enumerate # noqa: F401 from hidapi.udev import find_paired_node # noqa: F401 diff --git a/lib/hidapi/hidconsole.py b/lib/hidapi/hidconsole.py index df01cf27..896aba76 100644 --- a/lib/hidapi/hidconsole.py +++ b/lib/hidapi/hidconsole.py @@ -16,8 +16,6 @@ ## with this program; if not, write to the Free Software Foundation, Inc., ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -from __future__ import absolute_import, division, print_function, unicode_literals - import os import sys import time diff --git a/lib/hidapi/udev.py b/lib/hidapi/udev.py index b9ebeb55..41ef144c 100644 --- a/lib/hidapi/udev.py +++ b/lib/hidapi/udev.py @@ -24,8 +24,6 @@ The docstrings are mostly copied from the hidapi API header, with changes where necessary. """ -from __future__ import absolute_import, division, print_function, unicode_literals - import errno as _errno import os as _os diff --git a/lib/logitech_receiver/__init__.py b/lib/logitech_receiver/__init__.py index f03f3460..9625ddb2 100644 --- a/lib/logitech_receiver/__init__.py +++ b/lib/logitech_receiver/__init__.py @@ -28,8 +28,6 @@ http://julien.danjou.info/blog/2012/logitech-k750-linux-support http://6xq.net/git/lars/lshidpp.git/plain/doc/ """ -from __future__ import absolute_import, division, print_function, unicode_literals - import logging from . import listener, status # noqa: F401 diff --git a/lib/logitech_receiver/base.py b/lib/logitech_receiver/base.py index 9b7c1577..2065d6e3 100644 --- a/lib/logitech_receiver/base.py +++ b/lib/logitech_receiver/base.py @@ -19,8 +19,6 @@ # Base low-level functions used by the API proper. # Unlikely to be used directly unless you're expanding the API. -from __future__ import absolute_import, division, print_function, unicode_literals - import threading as _threading from collections import namedtuple diff --git a/lib/logitech_receiver/base_usb.py b/lib/logitech_receiver/base_usb.py index e45ab52f..c258328a 100644 --- a/lib/logitech_receiver/base_usb.py +++ b/lib/logitech_receiver/base_usb.py @@ -26,8 +26,6 @@ # USB ids of Logitech wireless receivers. # Only receivers supporting the HID++ protocol can go in here. -from __future__ import absolute_import, division, print_function, unicode_literals - from .descriptors import DEVICES as _DEVICES from .i18n import _ diff --git a/lib/logitech_receiver/common.py b/lib/logitech_receiver/common.py index 7362e952..5e495909 100644 --- a/lib/logitech_receiver/common.py +++ b/lib/logitech_receiver/common.py @@ -18,8 +18,6 @@ # Some common functions and types. -from __future__ import absolute_import, division, print_function, unicode_literals - from binascii import hexlify as _hexlify from collections import namedtuple from struct import pack, unpack diff --git a/lib/logitech_receiver/descriptors.py b/lib/logitech_receiver/descriptors.py index 1dd5ecd2..c44d91d9 100644 --- a/lib/logitech_receiver/descriptors.py +++ b/lib/logitech_receiver/descriptors.py @@ -16,8 +16,6 @@ ## with this program; if not, write to the Free Software Foundation, Inc., ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -from __future__ import absolute_import, division, print_function, unicode_literals - from collections import namedtuple from .common import NamedInts as _NamedInts diff --git a/lib/logitech_receiver/device.py b/lib/logitech_receiver/device.py index 627701fc..80e7532e 100644 --- a/lib/logitech_receiver/device.py +++ b/lib/logitech_receiver/device.py @@ -1,5 +1,3 @@ -from __future__ import absolute_import, division, print_function, unicode_literals - import errno as _errno from logging import INFO as _INFO diff --git a/lib/logitech_receiver/hidpp10.py b/lib/logitech_receiver/hidpp10.py index 4160ccc5..2d2b8c19 100644 --- a/lib/logitech_receiver/hidpp10.py +++ b/lib/logitech_receiver/hidpp10.py @@ -16,8 +16,6 @@ ## with this program; if not, write to the Free Software Foundation, Inc., ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -from __future__ import absolute_import, division, print_function, unicode_literals - from logging import getLogger # , DEBUG as _DEBUG from .common import BATTERY_APPROX as _BATTERY_APPROX diff --git a/lib/logitech_receiver/hidpp20.py b/lib/logitech_receiver/hidpp20.py index ac2ec6c8..682c72b8 100644 --- a/lib/logitech_receiver/hidpp20.py +++ b/lib/logitech_receiver/hidpp20.py @@ -18,8 +18,6 @@ # Logitech Unifying Receiver API. -from __future__ import absolute_import, division, print_function, unicode_literals - from logging import DEBUG as _DEBUG from logging import ERROR as _ERROR from logging import INFO as _INFO diff --git a/lib/logitech_receiver/i18n.py b/lib/logitech_receiver/i18n.py index ff6382eb..7f14f086 100644 --- a/lib/logitech_receiver/i18n.py +++ b/lib/logitech_receiver/i18n.py @@ -18,8 +18,6 @@ # Translation support for the Logitech receivers library -from __future__ import absolute_import, division, print_function, unicode_literals - import gettext as _gettext try: diff --git a/lib/logitech_receiver/listener.py b/lib/logitech_receiver/listener.py index 0176b4a8..41db1a1d 100644 --- a/lib/logitech_receiver/listener.py +++ b/lib/logitech_receiver/listener.py @@ -16,8 +16,6 @@ ## with this program; if not, write to the Free Software Foundation, Inc., ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -from __future__ import absolute_import, division, print_function, unicode_literals - import threading as _threading from logging import DEBUG as _DEBUG diff --git a/lib/logitech_receiver/notifications.py b/lib/logitech_receiver/notifications.py index 26ffa89d..03fbb1dd 100644 --- a/lib/logitech_receiver/notifications.py +++ b/lib/logitech_receiver/notifications.py @@ -19,8 +19,6 @@ # Handles incoming events from the receiver/devices, updating the related # status object as appropriate. -from __future__ import absolute_import, division, print_function, unicode_literals - from logging import DEBUG as _DEBUG from logging import INFO as _INFO from logging import getLogger diff --git a/lib/logitech_receiver/receiver.py b/lib/logitech_receiver/receiver.py index e8db265f..28dcabaf 100644 --- a/lib/logitech_receiver/receiver.py +++ b/lib/logitech_receiver/receiver.py @@ -16,8 +16,6 @@ ## with this program; if not, write to the Free Software Foundation, Inc., ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -from __future__ import absolute_import, division, print_function, unicode_literals - import errno as _errno from logging import INFO as _INFO diff --git a/lib/logitech_receiver/settings.py b/lib/logitech_receiver/settings.py index ab296cb5..2953d340 100644 --- a/lib/logitech_receiver/settings.py +++ b/lib/logitech_receiver/settings.py @@ -16,8 +16,6 @@ ## with this program; if not, write to the Free Software Foundation, Inc., ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -from __future__ import absolute_import, division, print_function, unicode_literals - import math from copy import copy as _copy diff --git a/lib/logitech_receiver/settings_templates.py b/lib/logitech_receiver/settings_templates.py index c517d373..c09ff55e 100644 --- a/lib/logitech_receiver/settings_templates.py +++ b/lib/logitech_receiver/settings_templates.py @@ -16,8 +16,6 @@ ## with this program; if not, write to the Free Software Foundation, Inc., ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -from __future__ import absolute_import, division, print_function, unicode_literals - from collections import namedtuple from logging import DEBUG as _DEBUG from logging import INFO as _INFO diff --git a/lib/logitech_receiver/special_keys.py b/lib/logitech_receiver/special_keys.py index 6d9690ad..b4752647 100644 --- a/lib/logitech_receiver/special_keys.py +++ b/lib/logitech_receiver/special_keys.py @@ -19,8 +19,6 @@ # Reprogrammable keys information # Mostly from Logitech documentation, but with some edits for better Lunix compatability -from __future__ import absolute_import, division, print_function, unicode_literals - from .common import NamedInts as _NamedInts #