Documentation Index
Fetch the complete documentation index at: https://docs.aspect.build/llms.txt
Use this file to discover all available pages before exploring further.
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
Bazel Rule or Aspect evaluation context
label of the pylint program
python files to be linted
label of the pylint config file (pyproject.toml, .pylintrc, or setup.cfg)
output file containing stdout of pylint
output file containing exit code of pylint
If None, then fail the build when pylint exits non-zero.
additional command-line options
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”,
)
the pylint config file (
pyproject.toml, pylintrc, or .pylintrc)which kinds of rules should be visited by the aspect
filegroups tagged with these tags will also be visited by the aspect

