summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Epler <jepler@unpythonic.net>2025-09-10 07:37:23 -0500
committerDamien George <damien@micropython.org>2025-09-15 14:54:09 +1000
commit3c60e0cf216994ea8a502744b2f915a2a48788f4 (patch)
treea18db64c24d0ce76066edb84bcfa239d2203fa30
parentf0c6f16b9eeedc11f3b042704109fddb9aa3532f (diff)
tools: Remove unneeded future imports.
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
-rw-r--r--tools/file2h.py2
-rw-r--r--tools/insert-usb-ids.py2
-rw-r--r--tools/makemanifest.py1
-rw-r--r--tools/manifestfile.py1
-rwxr-xr-xtools/pydfu.py2
5 files changed, 0 insertions, 8 deletions
diff --git a/tools/file2h.py b/tools/file2h.py
index 4607ab927..293f18a9c 100644
--- a/tools/file2h.py
+++ b/tools/file2h.py
@@ -5,8 +5,6 @@
# ;
# This script simply prints the escaped string straight to stdout
-from __future__ import print_function
-
import sys
# Can either be set explicitly, or left blank to auto-detect
diff --git a/tools/insert-usb-ids.py b/tools/insert-usb-ids.py
index 177a68c4a..bee285ad0 100644
--- a/tools/insert-usb-ids.py
+++ b/tools/insert-usb-ids.py
@@ -2,8 +2,6 @@
# inserts those values into the template file specified by sys.argv[2],
# printing the result to stdout
-from __future__ import print_function
-
import sys
import re
import string
diff --git a/tools/makemanifest.py b/tools/makemanifest.py
index e076a03e0..860935397 100644
--- a/tools/makemanifest.py
+++ b/tools/makemanifest.py
@@ -24,7 +24,6 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
-from __future__ import print_function
import sys
import os
import subprocess
diff --git a/tools/manifestfile.py b/tools/manifestfile.py
index beaa36d0f..9c7a6e140 100644
--- a/tools/manifestfile.py
+++ b/tools/manifestfile.py
@@ -25,7 +25,6 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
-from __future__ import print_function
import contextlib
import os
import sys
diff --git a/tools/pydfu.py b/tools/pydfu.py
index 8822b07be..376c697cb 100755
--- a/tools/pydfu.py
+++ b/tools/pydfu.py
@@ -11,8 +11,6 @@ See app note AN3156 for a description of the DFU protocol.
See document UM0391 for a description of the DFuse file.
"""
-from __future__ import print_function
-
import argparse
import collections
import inspect