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 /tests/float/cmath_fun.py | |
parent | 0c7354afaf91da3dac2c5ec471603c9e7acc8eac (diff) |
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 'tests/float/cmath_fun.py')
-rw-r--r-- | tests/float/cmath_fun.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/float/cmath_fun.py b/tests/float/cmath_fun.py index 15b72e7a6..39011733b 100644 --- a/tests/float/cmath_fun.py +++ b/tests/float/cmath_fun.py @@ -22,7 +22,7 @@ for r in base_values: test_values_non_zero.append(complex(r, -i)) if r != 0.0 and i != 0.0: test_values_non_zero.append(complex(-r, -i)) -test_values = [complex(0.0, 0.0),] + test_values_non_zero +test_values = [complex(0.0, 0.0)] + test_values_non_zero print(test_values) functions = [ |