<#18545 Weird warning on lint goal> Issue created ...
# github-notifications
c
#18545 Weird warning on lint goal Issue created by rhuanbarreto Describe the bug I get a warning when running `pants lint ::`:
Copy code
The lint goal was called with targets including `<redacted>:bin-deps`, `<redacted>:bin-srcs`, `<redacted>:bin-deps` (and others), which specify the environment `docker_linux`, which is a `docker_environment`. The lint goal only runs in the local environment. You may experience unexpected behavior.
My build file:
Copy code
local_environment(
    name="local_mac",
    compatible_platforms=["macos_arm64"],
    fallback_environment="local_linux",
    docker_env_vars=["GITHUB_SHA=development"],
)

local_environment(
    name="local_linux",
    compatible_platforms=["linux_x86_64"],
    fallback_environment="docker_linux",
    docker_env_vars=["GITHUB_SHA=development"],
)

docker_environment(
    name="docker_linux",
    platform="linux_x86_64",
    image="python:3.11.2-slim-bullseye",
    python_bootstrap_search_path=["/usr/local/bin"],
)

pex_binary(
    name="bin-deps",
    entry_point="__init__.py",
    environment="docker_linux",
    layout="packed",
    include_sources=False,
    execution_mode="venv",
    include_tools=True,
)

pex_binary(
    name="bin-srcs",
    entry_point="__init__.py",
    environment="docker_linux",
    layout="packed",
    include_requirements=False,
    execution_mode="venv",
    include_tools=True,
)
Pants version 2.15.0 OS Mac OS M1 Max pantsbuild/pants