commit | d1ba7bb7888c83ceb923c7e9ebafb8d84ce2ef16 | [log] [tgz] |
---|---|---|
author | Jerry Belton <[email protected]> | Wed May 01 14:45:50 2024 +0000 |
committer | Jerry Belton <[email protected]> | Wed May 01 14:45:50 2024 +0000 |
tree | e1dfc998cd875b3c7e8abc836362b95ecdbbddc1 | |
parent | 8c0241c8eacafacadff582c17b57106229c02bf2 [diff] |
[shac] Make default buildifier tool parameter a function call. In fuchsia.git, shac checks need access to the 'ctx' variable in order to determine the location of the prebuilt tools. This changes the default tool parameter from a string to a lambda, so this check can be used in both environments. Tested by pinning this change in fuchsia.git and running the tools. Change-Id: I41b45e4f0e9bb7bd2c7ac0110612e7589bae8668 Reviewed-on: https://fuchsia-review.googlesource.com/c/shac-project/checks-starlark/+/1040133 Reviewed-by: Darren Chan <[email protected]>
This repository hosts a suite of checks for performing static analysis and code health operations on starlark-based filetypes.
The checks are hosted in the “checks/” directory, split up based on the host-tool being used.
Please see https://github.com/shac-project/shac for more information on the shac tool and framework.