Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c5ca7d3a authored by Jack He's avatar Jack He
Browse files

Exclude deleted Python files from YAPF checker

Test: upload a commit with deleted Python file
Change-Id: I9cbf427eeafec992d1a8ecc0030ec5effcf9f3de
parent 974abb31
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -23,7 +23,9 @@ PYTHONPATH_KEY = 'PYTHONPATH'
COMMIT_ID_ENV_KEY = 'PREUPLOAD_COMMIT'
ANDROID_BUILD_TOP_KEY = 'ANDROID_BUILD_TOP'
DEFAULT_YAPF_DIR = 'external/yapf'
GIT_COMMAND = ['git', 'diff-tree', '--no-commit-id', '--name-only']
GIT_COMMAND = [
    'git', 'diff-tree', '--no-commit-id', '--name-only', '--diff-filter=d'
]


def main():