Commit b654bfd
Benjamin Moody
run-tests.yml: check that format is acceptable to black.
If all code is supposed to be formatted according to black, we want to
check this and fail if any code is not formatted correctly.
Simply running "black ." here doesn't help, as that simply rewrites
any incorrectly-formatted files and exits with status 0. Instead, run
with --check (fail if files are wrongly formatted) and --diff (print
differences to standard output).1 parent 5193c59 commit b654bfd
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
| 39 | + | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
0 commit comments