[PATCH] D80627: [clang-format] Create a python documentation tool to generate a summary of the clang-format status for the whole of the LLVM project
Sylvestre Ledru via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu May 28 05:57:31 PDT 2020
sylvestre.ledru added a comment.
Well done!
For Firefox, we decided to go ahead and reformat everything at once.
I has been way easier this way.
You should run flake8 & autopep8 on your python code. it isn't idomatic Python code (";" are useless on python for example)
================
Comment at: clang/docs/tools/generate_formatted_state.py:64
+ stdout, err = cmd.communicate();
+ if (err.find(': warning:') > 0):
+ clean = False;
----------------
() are useless in python for if
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80627/new/
https://reviews.llvm.org/D80627
More information about the cfe-commits
mailing list