Skip to content

Commit

Permalink
Suppress warnings from external repositories if possible
Browse files Browse the repository at this point in the history
  • Loading branch information
phst committed Apr 16, 2024
1 parent f6a3011 commit 9631d55
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@
# See the License for the specific language governing permissions and
# limitations under the License.

common --enable_platform_specific_config

# Suppress warnings from external repositories if possible.
build --features=external_include_paths
build --host_features=external_include_paths

# FIXME: This shouldn’t be necessary. File bug against Bazel.
build:windows --copts='/external:W3' --host_copts='/external:W3'

# Run Pylint by default.
build --aspects='//private:defs.bzl%check_python'
build --output_groups='+check_python'
Expand Down

0 comments on commit 9631d55

Please sign in to comment.