blob: cd9bc622ee17e60791cd96e1d1f5e60daea72d1b [file] [log] [blame]
licenses(["notice"])
package(default_visibility = ["//visibility:public"])
action_listener(
name = "compile_python",
extra_actions = [":checkstyle_python"],
mnemonics = ["PexPython"],
)
extra_action(
name = "checkstyle_python",
cmd = "$(execpath //tools/java/src/org/apache/bazel/checkstyle:checkstyle_python) " +
"--extra_action_file $(EXTRA_ACTION_FILE) " +
"--pylint_file $$(pwd)/$(execpath //third_party/python/pylint)",
requires_action_output = True,
tools = [
"//third_party/python/pylint",
"//tools/java/src/org/apache/bazel/checkstyle:checkstyle_python",
],
)