Skip to content

Commit

Permalink
Update buildifier warnings (bazelbuild#1866)
Browse files Browse the repository at this point in the history
  • Loading branch information
pcj authored May 23, 2021
1 parent 4d2c5e5 commit 741b567
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .bazelci/presubmit.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
---
buildifier:
version: 4.0.1
# Check for issues with the format of our bazel config files.
# All warnings from https://github.com/bazelbuild/buildtools/blob/master/WARNINGS.md
# are enabled except:
# rule-impl-return, uninitialized, return-value, rule-impl-return
# TODO (suvanjan): Re-enable once issues are fixed.
warnings: "attr-cfg,attr-license,attr-non-empty,attr-output-default,attr-single-file,confusing-name,constant-glob,ctx-actions,ctx-args,depset-iteration,depset-union,dict-concatenation,duplicated-name,filetype,function-docstring,git-repository,http-archive,integer-division,load,load-on-top,module-docstring,name-conventions,native-build,native-package,no-effect,out-of-order-load,output-group,package-name,package-on-top,redefined-variable,repository-name,same-origin-load,string-iteration,unreachable,unsorted-dict-items,unused-variable"
bazel: 4.0.0 # keep in sync with .bazelversion
warnings: "-rule-impl-return,-return-value,-function-docstring-args,-print,-skylark-comment,-provider-params,-unnamed-macro"
bazel: 4.0.0
tasks:
default_workspace_ubuntu1804:
platform: ubuntu1804
Expand Down

0 comments on commit 741b567

Please sign in to comment.