Switch yapfignore to fnmatch
Switches the yapfignore implementation in git_cl to use fnmatch instead of glob. This ends up bringing the .yapfignore file parsing in line with yapf's actual implementation, namely allowing uses such as '*pb2.py' instead of having to list out each directory manually. Bug: 1027953 Change-Id: Ibb1cb4252c546de6f1b1af720c4c29ffd0f7be0c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1938026 Commit-Queue: Brian Sheedy <bsheedy@chromium.org> Reviewed-by:Edward Lesmes <ehmaldonado@chromium.org> Reviewed-by:
Quinten Yearsley <qyearsley@chromium.org>
Showing
Please
register
or
sign in
to comment