Skip to content

Commit aaabbfe

Browse files
committed
Reverting group plugin fix
1 parent d4203f6 commit aaabbfe

File tree

2 files changed

+2
-16
lines changed

2 files changed

+2
-16
lines changed

material/plugins/group/config.py

+1-8
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,5 @@
2727

2828
# Group plugin configuration
2929
class GroupConfig(Config):
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)
30+
enabled = Type(bool, default = False)
3831
plugins = Type((list, dict))

src/plugins/group/config.py

+1-8
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,5 @@
2727

2828
# Group plugin configuration
2929
class GroupConfig(Config):
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)
30+
enabled = Type(bool, default = False)
3831
plugins = Type((list, dict))

0 commit comments

Comments
 (0)