From 36ab1c26400a68c9f8c8c24cce03f487e403c312 Mon Sep 17 00:00:00 2001 From: Jeff Epler Date: Wed, 10 Sep 2025 07:39:27 -0500 Subject: [PATCH] ports: Remove unneeded future imports. Signed-off-by: Jeff Epler --- ports/cc3200/boards/make-pins.py | 2 -- ports/nrf/boards/make-pins.py | 2 -- ports/stm32/boards/pllvalues.py | 1 - ports/stm32/make-stmconst.py | 2 -- shared/memzip/make-memzip.py | 2 -- 5 files changed, 9 deletions(-) diff --git a/ports/cc3200/boards/make-pins.py b/ports/cc3200/boards/make-pins.py index e30c02ce94..0a06805f77 100644 --- a/ports/cc3200/boards/make-pins.py +++ b/ports/cc3200/boards/make-pins.py @@ -4,8 +4,6 @@ # Do not use this as a reference for new ports. See tools/boardgen.py and e.g. # ports/stm32/boards/make-pins.py. -from __future__ import print_function - import argparse import sys import csv diff --git a/ports/nrf/boards/make-pins.py b/ports/nrf/boards/make-pins.py index 30da035589..20e89936f6 100644 --- a/ports/nrf/boards/make-pins.py +++ b/ports/nrf/boards/make-pins.py @@ -4,8 +4,6 @@ # Do not use this as a reference for new ports. See tools/boardgen.py and e.g. # ports/stm32/boards/make-pins.py. -from __future__ import print_function - import argparse import sys import csv diff --git a/ports/stm32/boards/pllvalues.py b/ports/stm32/boards/pllvalues.py index 987b784a60..5558d04c5b 100644 --- a/ports/stm32/boards/pllvalues.py +++ b/ports/stm32/boards/pllvalues.py @@ -4,7 +4,6 @@ the CPU frequency to a given value. The algorithm here appears as C code for the machine.freq() function. """ -from __future__ import print_function import re diff --git a/ports/stm32/make-stmconst.py b/ports/stm32/make-stmconst.py index ff84977ad0..770033ef59 100644 --- a/ports/stm32/make-stmconst.py +++ b/ports/stm32/make-stmconst.py @@ -4,8 +4,6 @@ extracts relevant peripheral constants, and creates qstrs, mpz's and constants for the stm module. """ -from __future__ import print_function - import argparse import re diff --git a/shared/memzip/make-memzip.py b/shared/memzip/make-memzip.py index 92a5d6168b..e406c55a43 100755 --- a/shared/memzip/make-memzip.py +++ b/shared/memzip/make-memzip.py @@ -7,8 +7,6 @@ # This is somewhat like frozen modules in python, but allows arbitrary files # to be used. -from __future__ import print_function - import argparse import os import subprocess