diff --git a/can/interfaces/gs_usb.py b/can/interfaces/gs_usb.py index ff6ba634e..447cdf47f 100644 --- a/can/interfaces/gs_usb.py +++ b/can/interfaces/gs_usb.py @@ -1,4 +1,4 @@ -from typing import cast, Any, Iterator, List, Optional, Sequence, Tuple, Union +from typing import Optional, Tuple from gs_usb.gs_usb import GsUsb from gs_usb.gs_usb_frame import GsUsbFrame diff --git a/can/interfaces/nixnet.py b/can/interfaces/nixnet.py index f8b54ea4e..993c215dd 100644 --- a/can/interfaces/nixnet.py +++ b/can/interfaces/nixnet.py @@ -1,5 +1,3 @@ -# coding: utf-8 - """ NI-XNET interface module. diff --git a/test/__init__.py b/test/__init__.py index 394a0a067..4265cc3e6 100644 --- a/test/__init__.py +++ b/test/__init__.py @@ -1,2 +1 @@ #!/usr/bin/env python -# coding: utf-8 diff --git a/test/back2back_test.py b/test/back2back_test.py index 1950c5fa5..66104a43e 100644 --- a/test/back2back_test.py +++ b/test/back2back_test.py @@ -1,5 +1,4 @@ #!/usr/bin/env python -# coding: utf-8 """ This module tests two buses attached to each other. diff --git a/test/config.py b/test/config.py index 58ad780fc..fc1bca6c2 100644 --- a/test/config.py +++ b/test/config.py @@ -1,5 +1,4 @@ #!/usr/bin/env python -# coding: utf-8 """ This module contains various configuration for the tests. diff --git a/test/contextmanager_test.py b/test/contextmanager_test.py index 95785b128..014dfb121 100644 --- a/test/contextmanager_test.py +++ b/test/contextmanager_test.py @@ -1,5 +1,4 @@ #!/usr/bin/env python -# coding: utf-8 """ This module tests the context manager of Bus and Notifier classes diff --git a/test/data/__init__.py b/test/data/__init__.py index 394a0a067..4265cc3e6 100644 --- a/test/data/__init__.py +++ b/test/data/__init__.py @@ -1,2 +1 @@ #!/usr/bin/env python -# coding: utf-8 diff --git a/test/data/example_data.py b/test/data/example_data.py index d642887cf..d41544334 100644 --- a/test/data/example_data.py +++ b/test/data/example_data.py @@ -1,5 +1,4 @@ #!/usr/bin/env python -# coding: utf-8 """ This module contains some example data, like messages of different diff --git a/test/listener_test.py b/test/listener_test.py index 83b4a63fc..e5abd94a2 100644 --- a/test/listener_test.py +++ b/test/listener_test.py @@ -1,5 +1,4 @@ #!/usr/bin/env python -# coding: utf-8 """ """ diff --git a/test/logformats_test.py b/test/logformats_test.py index 8bdb4c215..ae3106aa7 100644 --- a/test/logformats_test.py +++ b/test/logformats_test.py @@ -1,5 +1,4 @@ #!/usr/bin/env python -# coding: utf-8 """ This test module test the separate reader/writer combinations of the can.io.* diff --git a/test/message_helper.py b/test/message_helper.py index 5f437dbde..1e7989156 100644 --- a/test/message_helper.py +++ b/test/message_helper.py @@ -1,5 +1,4 @@ #!/usr/bin/env python -# coding: utf-8 """ This module contains a helper for writing test cases that need to compare messages. diff --git a/test/network_test.py b/test/network_test.py index ad02fae41..a4e40e901 100644 --- a/test/network_test.py +++ b/test/network_test.py @@ -1,5 +1,4 @@ #!/usr/bin/env python -# coding: utf-8 import unittest diff --git a/test/notifier_test.py b/test/notifier_test.py index 0a60bd25d..c9d8f4a27 100644 --- a/test/notifier_test.py +++ b/test/notifier_test.py @@ -1,5 +1,4 @@ #!/usr/bin/env python -# coding: utf-8 import unittest import time diff --git a/test/serial_test.py b/test/serial_test.py index 29f1ea2b3..c9c035634 100644 --- a/test/serial_test.py +++ b/test/serial_test.py @@ -1,5 +1,4 @@ #!/usr/bin/env python -# coding: utf-8 """ This module is testing the serial interface. diff --git a/test/simplecyclic_test.py b/test/simplecyclic_test.py index 82f0850a7..4b9ded43f 100644 --- a/test/simplecyclic_test.py +++ b/test/simplecyclic_test.py @@ -1,5 +1,4 @@ #!/usr/bin/env python -# coding: utf-8 """ This module tests cyclic send tasks. diff --git a/test/test_kvaser.py b/test/test_kvaser.py index 3acc2731d..2637ae0e7 100644 --- a/test/test_kvaser.py +++ b/test/test_kvaser.py @@ -1,5 +1,4 @@ #!/usr/bin/env python -# coding: utf-8 """ """