diff options
author | Thomas Van Lenten <thomasvl@google.com> | 2018-11-21 13:04:25 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-21 13:04:25 -0500 |
commit | d7c5518fa061ae18a20d00b14082705d3d2d885d (patch) | |
tree | 2b398dbe5def30f6c3f4091f40435bceefca0afa /lib.bzl | |
parent | 9566d63ba0d18a4a0ea13c2e8853fd37f8f020a0 (diff) | |
download | bazel-skylib-d7c5518fa061ae18a20d00b14082705d3d2d885d.tar.gz |
buildifier lint issues/validation
* Fix lint issues
- Move the doc string into the `doc` attributes on the rule/attr calls.
- Move the print() below the load() statements.
* Also run buildifier in --lint=fix mode to catch issues on Travis.
Diffstat (limited to 'lib.bzl')
-rw-r--r-- | lib.bzl | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -14,12 +14,6 @@ """Index from which multiple modules can be loaded.""" -print( - "WARNING: lib.bzl is deprecated and will go away in the future, please" + - " directly load the bzl file(s) of the module(s) needed as it is more" + - " efficient.", -) - load("//lib:collections.bzl", _collections = "collections") load("//lib:dicts.bzl", _dicts = "dicts") load("//lib:new_sets.bzl", _new_sets = "sets") @@ -33,6 +27,12 @@ load("//lib:types.bzl", _types = "types") load("//lib:versions.bzl", _versions = "versions") load("//lib:unittest.bzl", _asserts = "asserts", _unittest = "unittest") +print( + "WARNING: lib.bzl is deprecated and will go away in the future, please" + + " directly load the bzl file(s) of the module(s) needed as it is more" + + " efficient.", +) + collections = _collections dicts = _dicts new_sets = _new_sets |