Documentation for @aspect_rules_lint@v2.3.0 — View source
tools/lint/BUILD.bazel:
tools/lint/linters.bzl:
Function: pylint_action
Run pylint as an action under Bazel.
Based on https://pylint.readthedocs.io/en/stable/user_guide/run.html
Parameters
output file containing exit code of pylint
If None, then fail the build when pylint exits non-zero.
Function: lint_pylint_aspect
A factory function to create a linter aspect.
Parameters
a pylint executable. Obtain from rules_python like so:load(“@rules_python//python/entry_points:py_console_script_binary.bzl”, “py_console_script_binary”)py_console_script_binary(
name = “pylint”,
pkg = “@pip//pylint:pkg”,
)
which kinds of rules should be visited by the aspect

