Skip to content

Commit

Permalink
Reverting group plugin fix
Browse files Browse the repository at this point in the history
  • Loading branch information
squidfunk committed Feb 7, 2025
1 parent d4203f6 commit aaabbfe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
9 changes: 1 addition & 8 deletions material/plugins/group/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,5 @@

# Group plugin configuration
class GroupConfig(Config):
# While the canonical type for this setting is obviously bool, setting it
# from environment variables seems to have different effects on different
# systems. For instance, setting CI=true seems to correctly work on macOS,
# but not on Linux – see https://t.ly/MWj0H.
#
# Thus, as long as the value evaluates to a truthy or falsy value, the
# plugin will work as expected, until we find a better solution.
enabled = Type((bool, str, int), default = False)
enabled = Type(bool, default = False)
plugins = Type((list, dict))
9 changes: 1 addition & 8 deletions src/plugins/group/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,5 @@

# Group plugin configuration
class GroupConfig(Config):
# While the canonical type for this setting is obviously bool, setting it
# from environment variables seems to have different effects on different
# systems. For instance, setting CI=true seems to correctly work on macOS,
# but not on Linux – see https://t.ly/MWj0H.
#
# Thus, as long as the value evaluates to a truthy or falsy value, the
# plugin will work as expected, until we find a better solution.
enabled = Type((bool, str, int), default = False)
enabled = Type(bool, default = False)
plugins = Type((list, dict))

0 comments on commit aaabbfe

Please sign in to comment.