]> source.dussan.org Git - jgit.git/commit
Bazel: Fix lint warning flagged by buildifier 11/144311/2
authorDavid Ostrovsky <david@ostrovsky.org>
Tue, 18 Jun 2019 07:37:51 +0000 (09:37 +0200)
committerDavid Ostrovsky <david@ostrovsky.org>
Tue, 18 Jun 2019 07:43:08 +0000 (09:43 +0200)
commite5f86d46308db2ecda9e4c5fb0041595cf499a7c
tree25ef9fb429ac007c01fe9c2997ff097ab3a979c0
parentf0a14bb3f5ca3d0691ecd55649082d9fee707696
Bazel: Fix lint warning flagged by buildifier

This change is fixing confusing name warning: [1].

  ./org.eclipse.jgit.test/tests.bzl:12: confusing-name:
  Never use 'l', 'I', or 'O' as names (they're too easily confused
  with 'I', 'l', or '0').

And is also fixing: "All calls to rules or macros should pass arguments
by keyword position argument" warning: [2].

  ./org.eclipse.jgit.test/BUILD:42: positional-args: All calls to rules
  or macros should pass arguments by keyword (arg_name=value) syntax.

[1] https://github.com/bazelbuild/buildtools/blob/master/WARNINGS.md#confusing-name
[2] https://github.com/bazelbuild/buildtools/blob/master/WARNINGS.md#positional-args

Change-Id: If5c28ec8a1ddc1d1b1035bd07b838a2a564aea4f
Signed-off-by: David Ostrovsky <david@ostrovsky.org>
org.eclipse.jgit.test/BUILD
org.eclipse.jgit.test/tests.bzl