Skip to content

Commit

Permalink
Resolve linting error of undocumented args
Browse files Browse the repository at this point in the history
  • Loading branch information
jheaff1 committed Nov 7, 2022
1 parent cabb5b0 commit b0c6e7e
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion toolchains/built_toolchains.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,23 @@ _CMAKE_SRCS = {

# buildifier: disable=unnamed-macro
def built_toolchains(cmake_version, make_version, ninja_version, pkgconfig_version, register_toolchains, register_built_pkgconfig_toolchain):
"""Register toolchains for built tools that will be built from source"""
"""
Register toolchains for built tools that will be built from source
Args:
cmake_version: The CMake version to build
make_version: The Make version to build
ninja_version: The Ninja version to build
pkgconfig_version: The pkg-config version to build
register_toolchains: If true, registers the toolchains via native.register_toolchains. Used by bzlmod
register_built_pkgconfig_toolchain: If true, the built pkgconfig toolchain will be registered.
"""
_cmake_toolchain(cmake_version, register_toolchains)
_make_toolchain(make_version, register_toolchains)
_ninja_toolchain(ninja_version, register_toolchains)
Expand Down

0 comments on commit b0c6e7e

Please sign in to comment.