...
[RG]* (HIGH) Rename
toggle_warnings
totoggle_warning
for consistency.Use combo of expand/contract or lint amnesty.
[RG]* (HIGH) Implement ADR 0005-toggle-life-expectancy.rst.
See ADR Consequences for details.
Toggle Enhancements
[RG]* (HIGH) Enhance BaseToggle with additional methods.
Add
is_disabled
(notis_enabled
),is_on
(is_enabled
) andis_off
(notis_enabled
)Makes a variety of conditions more readable when
ENABLE_
orDISABLE_
are in the toggle name.For example:
not DISABLE_SOME_FEATURE.is_enabled() # BEFORE; brain twister
DISABLE_SOME_FEATURE.is_off() # AFTER
This problem was discussed on Slack.
Replace or improve
ExperimentWaffleFlag