Skip to content

Commit

Permalink
Run pre-commit (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
keith authored Jan 13, 2023
1 parent 1d8f80d commit 8f940a1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
9 changes: 9 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# See CONTRIBUTING.md for instructions.
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/keith/pre-commit-buildifier
rev: 6.0.0
hooks:
- id: buildifier
- id: buildifier-lint
3 changes: 1 addition & 2 deletions multirun.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ in a single invocation.
load("@bazel_skylib//lib:shell.bzl", "shell")
load("//internal:constants.bzl", "RUNFILES_PREFIX")


def _multirun_impl(ctx):
instructions_file = ctx.actions.declare_file(ctx.label.name + ".json")
runner_info = ctx.attr._runner[DefaultInfo]
Expand Down Expand Up @@ -103,7 +102,7 @@ multirun = rule(
),
"_runner": attr.label(
default = Label("//internal:multirun"),
cfg = "host",
cfg = "exec",
executable = True,
),
},
Expand Down

0 comments on commit 8f940a1

Please sign in to comment.