Commit Graph

4 Commits

Author SHA1 Message Date
Philip Withnall
905b22a17e py: Reformat all Python files consistently
This commit is the unmodified results of running
```
black $(git ls-files '*.py')
```
with black version 19.10b0. See #2046.

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
2020-11-17 15:50:07 +00:00
Philip Withnall
9ec69ae6af clang-format-diff: Output diff for multiple files, not just one
A bug in `clang-format-diff.py` was causing it to only output the
formatting diff for the first incorrectly-formatted file, rather than
the diffs for all files.

That’s not so helpful for reformatting an entire MR in one go. Fix it.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
2019-12-12 11:43:23 +00:00
Philip Withnall
742a7b125e clang-format-diff: Reformat script to satisfy PEP8 and pylint
This introduces no functional changes.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
2019-12-12 11:43:23 +00:00
Pavlo Solntsev
e95f47c395
CI: Code check formating in CI 2019-11-21 14:03:01 -06:00