Skip to content

Commit

Permalink
Exclude third-party code in blink from yapf
Browse files Browse the repository at this point in the history
The whole third_party/blink is covered by third_party/blink/.style.yapf,
but it also has some third-party dependencies in it. Unfortunately,
adding ignore patterns to the top-level .yapfignore seems to be the
easiest way to skip these directories.

Bug: 846432
Change-Id: I02428d30697745fa1424be4faa147a687554bc5c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2052547
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Commit-Queue: Robert Ma <robertma@chromium.org>
Cr-Commit-Position: refs/heads/master@{#740832}
  • Loading branch information
Hexcles authored and Commit Bot committed Feb 12, 2020
1 parent f042124 commit 9d5503a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .yapfignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
# Generated protobuf code.
*_pb2.py

# Third-party code.
third_party/blink/tools/blinkpy/third_party/*
third_party/blink/web_tests/external/wpt/*

0 comments on commit 9d5503a

Please sign in to comment.