summaryrefslogtreecommitdiff
path: root/system/tools/scripts/yapf_checker.py
AgeCommit message (Collapse)Author
2022-01-19Change pre-upload hook check order for non python uploadWilliam Escande
It's currently not possible to run the pre-upload hook without having to source the build/envsetup.sh. With this change it will be allowed as long as there is no python files modified. Test: Upload this change (it's a python file) Change-Id: I0a27c777b0a0aa58d48e42650063f62cba0a4027
2020-05-18Format python files with extended line length now allowedZach Johnson
Bug: 156858180 Test: cert/run --host Tag: #gd-refactor Change-Id: I45ab86f366316246f14b24dd83f66684badf22e0
2020-04-24Exclude deleted Python files from YAPF checkerJack He
Test: upload a commit with deleted Python file Change-Id: I9cbf427eeafec992d1a8ecc0030ec5effcf9f3de
2019-12-11Add Python style checker to system/btJack He
* Based on Google style and ensure 4 spaces are used for indentation * http://google.github.io/styleguide/pyguide.html Bug: 146016811 Test: upload CLs Change-Id: I27b9232d59e9e9bd59ca1414ef6f9db85c41a808