From 8c575e737f226690f1e76e099023b97573f32729 Mon Sep 17 00:00:00 2001 From: Thomas Van Lenten Date: Mon, 26 Nov 2018 17:31:29 -0500 Subject: [PATCH] Fix up lint issues. (#77) Fixed via `buildifier --lint=fix` with buildifier 0.19.2.1 --- BUILD | 4 ++-- lib.bzl | 2 +- lib/BUILD | 4 ++-- lib/unittest.bzl | 2 +- tests/BUILD | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/BUILD b/BUILD index cabe9f4..9dbe12d 100644 --- a/BUILD +++ b/BUILD @@ -1,9 +1,9 @@ +load("//:bzl_library.bzl", "bzl_library") + licenses(["notice"]) # Apache 2.0 package(default_visibility = ["//visibility:public"]) -load("//:bzl_library.bzl", "bzl_library") - exports_files([ "LICENSE", "lib.bzl", diff --git a/lib.bzl b/lib.bzl index d99e498..9cffa0e 100644 --- a/lib.bzl +++ b/lib.bzl @@ -24,8 +24,8 @@ load("//lib:sets.bzl", _sets = "sets") load("//lib:shell.bzl", _shell = "shell") load("//lib:structs.bzl", _structs = "structs") load("//lib:types.bzl", _types = "types") -load("//lib:versions.bzl", _versions = "versions") load("//lib:unittest.bzl", _asserts = "asserts", _unittest = "unittest") +load("//lib:versions.bzl", _versions = "versions") print( "WARNING: lib.bzl is deprecated and will go away in the future, please" + diff --git a/lib/BUILD b/lib/BUILD index ff49e88..df0c640 100644 --- a/lib/BUILD +++ b/lib/BUILD @@ -1,9 +1,9 @@ +load("//:bzl_library.bzl", "bzl_library") + licenses(["notice"]) package(default_visibility = ["//visibility:public"]) -load("//:bzl_library.bzl", "bzl_library") - filegroup( name = "test_deps", testonly = True, diff --git a/lib/unittest.bzl b/lib/unittest.bzl index 32a0ec8..7489890 100644 --- a/lib/unittest.bzl +++ b/lib/unittest.bzl @@ -19,8 +19,8 @@ functions to declare and define unit tests, and `asserts` which contains the assertions used to within tests. """ -load(":sets.bzl", "sets") load(":new_sets.bzl", new_sets = "sets") +load(":sets.bzl", "sets") def _make(impl, attrs = None): """Creates a unit test rule from its implementation function. diff --git a/tests/BUILD b/tests/BUILD index 19e4ac5..e845dc2 100644 --- a/tests/BUILD +++ b/tests/BUILD @@ -1,10 +1,10 @@ load(":collections_tests.bzl", "collections_test_suite") load(":dicts_tests.bzl", "dicts_test_suite") +load(":new_sets_tests.bzl", "new_sets_test_suite") load(":partial_tests.bzl", "partial_test_suite") load(":paths_tests.bzl", "paths_test_suite") load(":selects_tests.bzl", "selects_test_suite") load(":sets_tests.bzl", "sets_test_suite") -load(":new_sets_tests.bzl", "new_sets_test_suite") load(":shell_tests.bzl", "shell_test_suite") load(":structs_tests.bzl", "structs_test_suite") load(":types_tests.bzl", "types_test_suite")