<#18122 `lint` with `--filter-target-type` unexpec...
# github-notifications
q
#18122 `lint` with `--filter-target-type` unexpectedly lints `BUILD` files Issue created by danxmoran Describe the bug When I run
./pants --filter-target-type=docker_image lint ::
locally, I only expect
hadolint
to run. But at the end of the run I see:
Copy code
āœ“ black succeeded.
āœ“ hadolint succeeded.
I can't figure out why
black
is running in this case. When I look at the run in Buildsense here it confirms only 46 targets were matched, but also shows the
black
processes that are running on hundreds of other files. Pants version 2.15.0rc2 OS MacOS pantsbuild/pants