summaryrefslogtreecommitdiff
path: root/ports/stm/tools/parse_pins_csv.py
diff options
context:
space:
mode:
authorScott Shawcroft <scott@adafruit.com>2020-06-03 12:19:20 -0700
committerGitHub <noreply@github.com>2020-06-03 12:19:20 -0700
commit547beb5d4740f8e5b5db5d57a7544a4b765ef0c5 (patch)
tree5b445330d04a03f517dc490b53c87f9c5a5e7516 /ports/stm/tools/parse_pins_csv.py
parent01e294536c3ca36a8c9ad0e3b2c14adb5c2b85b5 (diff)
parent79cd86445ee352861a68d395114a15c3cd4edee5 (diff)
Merge pull request #2981 from Flameeyes/master
Set up basic integration with pre-commit.
Diffstat (limited to 'ports/stm/tools/parse_pins_csv.py')
-rw-r--r--ports/stm/tools/parse_pins_csv.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/ports/stm/tools/parse_pins_csv.py b/ports/stm/tools/parse_pins_csv.py
index b69b4791b..4ab3fc25c 100644
--- a/ports/stm/tools/parse_pins_csv.py
+++ b/ports/stm/tools/parse_pins_csv.py
@@ -25,12 +25,12 @@
import csv
import sys
-# Use: parse_pins_csv.py Filename.csv
+# Use: parse_pins_csv.py Filename.csv
# Designed for use with .csv files from Micropython, or in identical format
# created via Datasheet peripheral tables with a Sheets program.
-#
-# See examples/nucleo_h743.csv for example formatting.
-
+#
+# See examples/nucleo_h743.csv for example formatting.
+
# Open target file
with open(sys.argv[1]) as csv_file:
csv_reader = csv.reader(csv_file, delimiter=',')