Global options
Options to control the overall behavior of Pants.
Backend: pants.backend.python.lint.isort
Config section: [GLOBAL]
Basic options
colors
--[no-]colors
PANTS_COLORS
[GLOBAL]
colors = <bool>
False
Whether Pants should use colors in output or not. This may also impact whether some tools Pants runs use color.
When unset, this value defaults based on whether the output destination supports color.
concurrent
--[no-]concurrent
PANTS_CONCURRENT
[GLOBAL]
concurrent = <bool>
False
Enable concurrent runs of Pants. With this enabled, Pants will start up all concurrent invocations (e.g. in other terminals) without pantsd. As a result, enabling this option will increase the per-run startup cost, but will not block subsequent invocations.
dynamic_ui
--[no-]dynamic-ui
PANTS_DYNAMIC_UI
[GLOBAL]
dynamic_ui = <bool>
True
Display a dynamically-updating console UI as Pants runs. This is true by default if Pants detects a TTY and there is no 'CI' environment variable indicating that Pants is running in a continuous integration environment.
dynamic_ui_renderer
--dynamic-ui-renderer=<DynamicUIRenderer>
PANTS_DYNAMIC_UI_RENDERER
[GLOBAL]
dynamic_ui_renderer = <DynamicUIRenderer>
indicatif-spinner, experimental-prodash
default:
indicatif-spinner
If --dynamic-ui
is enabled, selects the renderer.
keep_sandboxes
--keep-sandboxes=<KeepSandboxes>
PANTS_KEEP_SANDBOXES
[GLOBAL]
keep_sandboxes = <KeepSandboxes>
always, on_failure, never
default:
never
Controls whether Pants will clean up local directories used as chroots for running processes.
Pants will log their location so that you can inspect the chroot, and run the __run.sh
script to recreate the process using the same argv and environment variables used by Pants. This option is useful for debugging.
level
-l<LogLevel>, --level=<LogLevel>
PANTS_LEVEL
[GLOBAL]
level = <LogLevel>
trace, debug, info, warn, error
default:
info
Set the logging level.
local_cache
--[no-]local-cache
PANTS_LOCAL_CACHE
[GLOBAL]
local_cache = <bool>
True
Whether to cache process executions in a local cache persisted to disk at --local-store-dir
.
loop
--[no-]loop
PANTS_LOOP
[GLOBAL]
loop = <bool>
False
Run goals continuously as file changes are detected.