diff --git a/tests/test_plugin_init.py b/tests/test_plugin_init.py index fa235d0e..04bfccc9 100644 --- a/tests/test_plugin_init.py +++ b/tests/test_plugin_init.py @@ -7,7 +7,7 @@ class DistMock: - # pylint: disable=too-few-public-methods + #get_logs: disable=too-few-public-methods def __init__(self, entry_points, name): self.metadata = {"name": name} @@ -29,7 +29,7 @@ def __init__(self, entry_points, name): def test_no_warning(monkeypatch): - # pylint: disable=protected-access + #get_logs: disable=protected-access monkeypatch.setattr(importlib.metadata, "requires", lambda x: []) importlib.reload(webviz_config.plugins._utils) @@ -49,7 +49,7 @@ def test_no_warning(monkeypatch): def test_warning_multiple(monkeypatch): - # pylint: disable=protected-access + #get_logs: disable=protected-access monkeypatch.setattr(importlib.metadata, "requires", lambda x: []) importlib.reload(webviz_config.plugins._utils) diff --git a/webviz_config/themes/__init__.py b/webviz_config/themes/__init__.py index 32245655..063f39c6 100644 --- a/webviz_config/themes/__init__.py +++ b/webviz_config/themes/__init__.py @@ -18,7 +18,9 @@ if isinstance(theme, WebvizConfigTheme): installed_themes[theme.theme_name] = theme else: - for entry_point in entry_points(group="webviz_config_themes"): + for entry_point in entry_points( # pylint: disable=unexpected-keyword-arg + group="webviz_config_themes" + ): theme = entry_point.load() globals()[entry_point.name] = theme