Comments (2)
Slack discussion: https://pantsbuild.slack.com/archives/C046T6T9U/p1713281183584689
from pants.
As per my comment in Slack, apparently you need to use UnsetBool
from pants.option.custom_types import UnsetBool
foo = BoolOption(
default=UnsetBool,
help="bar",
)
from pants.
Related Issues (20)
- allow configuration to disable generation of shunit2_tests targets
- `peek` documentation example output is outdated/incomplete
- `peek` output for target generators like `python_tests` do not include relevant `goals` HOT 3
- "Making subsystems exportable with their default lockfile" docs render funny
- Project specific env vars from host
- `export` goal `py_hermetic_scripts` option docs have misrendered list
- Plugin upgrade guide does not mention changes in 2.18 or later (e.g. `@rule_helper` removal) HOT 1
- pantsd not invalidating cache when file permission changes
- Consistent option hierarchy
- Add exit-non-zero-on-fix support for fix and fmt goals HOT 10
- Pants package command hangs for helm chart with dependency subcharts of the same name HOT 1
- Show Python tool versions in top-level help text and documentation
- Feature request: Allow disabling file handle limit warning HOT 2
- `__defaults__(all=...)` is a future-compatibility hazard for adding new field HOT 4
- Process 'Extract Pants' execution Python' failed with exit code 2, when running in GH actions HOT 3
- Overrides not working with parametrized default HOT 2
- GitHub-hosted `macos-11` runners are deprecated and will be removed on 2024-06-28
- Pants test using a different module version than it's assigned resolve HOT 3
- Values from `__defaults__` are not treated the same as builtin field defaults.
- Lingering TODO about removing `parent_id` in `interface.rs`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pants.