Hi, using pants with python (2). Is there a way w...
# general
b
Hi, using pants with python (2). Is there a way when running
pants export
to skip the export of the virtualenvs for the tools (e.g.
pytest
,
autoflake
,
black
etc.) I only want to export the
python-default
resolve virtual-env. I see
export
has no options. https://www.pantsbuild.org/docs/reference-export Maybe I’m missing something though.
1
c
There's a export option per tool you can set to false.
@bitter-ability-32190 may pick a link to the docs, I'm on the phone ;)
b
Which also means you can just do
--no-black-export
on the CLI
💯 2
b
Great, thank you!
h
fyi https://github.com/pantsbuild/pants/issues/15940 tracks making this more intuitive