File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 2727
2828# Group plugin configuration
2929class GroupConfig (Config ):
30- enabled = Type (bool , default = False )
30+ # While the canonical type for this setting is obviously bool, setting it
31+ # from environment variables seems to have different effects on different
32+ # systems. For instance, setting CI=true seems to correctly work on macOS,
33+ # but not on Linux – see https://t.ly/MWj0H.
34+ #
35+ # Thus, as long as the value evaluates to a truthy or falsy value, the
36+ # plugin will work as expected, until we find a better solution.
37+ enabled = Type ((bool , str , int ), default = False )
3138 plugins = Type ((list , dict ))
Original file line number Diff line number Diff line change 2727
2828# Group plugin configuration
2929class GroupConfig (Config ):
30- enabled = Type (bool , default = False )
30+ # While the canonical type for this setting is obviously bool, setting it
31+ # from environment variables seems to have different effects on different
32+ # systems. For instance, setting CI=true seems to correctly work on macOS,
33+ # but not on Linux – see https://t.ly/MWj0H.
34+ #
35+ # Thus, as long as the value evaluates to a truthy or falsy value, the
36+ # plugin will work as expected, until we find a better solution.
37+ enabled = Type ((bool , str , int ), default = False )
3138 plugins = Type ((list , dict ))
You can’t perform that action at this time.
0 commit comments