diff options
author | Damien George <damien@micropython.org> | 2020-08-29 15:14:29 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2020-08-29 15:18:01 +1000 |
commit | 06659077a81b85882254cf0953c33b27614e018e (patch) | |
tree | f0463060ca6144a82b0e54ffc4f394c208d4d92c /ports/stm32/boards/make-pins.py | |
parent | 0c7354afaf91da3dac2c5ec471603c9e7acc8eac (diff) | |
download | micropython-06659077a81b85882254cf0953c33b27614e018e.tar.gz micropython-06659077a81b85882254cf0953c33b27614e018e.zip |
all: Update Python code to conform to latest black formatting.
Updating to Black v20.8b1 there are two changes that affect the code in
this repository:
- If there is a trailing comma in a list (eg [], () or function call) then
that list is now written out with one line per element. So remove such
trailing commas where the list should stay on one line.
- Spaces at the start of """ doc strings are removed.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'ports/stm32/boards/make-pins.py')
-rwxr-xr-x | ports/stm32/boards/make-pins.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ports/stm32/boards/make-pins.py b/ports/stm32/boards/make-pins.py index 692387f404..a91ed8a2c9 100755 --- a/ports/stm32/boards/make-pins.py +++ b/ports/stm32/boards/make-pins.py @@ -515,7 +515,10 @@ def main(): action="store_true", ) parser.add_argument( - "-b", "--board", dest="board_filename", help="Specifies the board file", + "-b", + "--board", + dest="board_filename", + help="Specifies the board file", ) parser.add_argument( "-p", |