File tree 2 files changed +16
-2
lines changed
2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 27
27
28
28
# Group plugin configuration
29
29
class 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 )
31
38
plugins = Type ((list , dict ))
Original file line number Diff line number Diff line change 27
27
28
28
# Group plugin configuration
29
29
class 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 )
31
38
plugins = Type ((list , dict ))
You can’t perform that action at this time.
0 commit comments