diff --git a/lcviz/helper.py b/lcviz/helper.py index d8c19a1..e6cd0df 100644 --- a/lcviz/helper.py +++ b/lcviz/helper.py @@ -140,8 +140,9 @@ def __init__(self, *args, **kwargs): self.app.vdocs = 'v0.4.1' # TODO: testing only self.app.docs_link = f"https://lcviz.readthedocs.io/en/{self.app.vdocs}" for plugin in self.plugins.values(): - # NOTE that plugins that need to override upstream docs_link should do so in an @observe('vdocs') - # rather than the init, since plugin instances have already been initialized + # NOTE that plugins that need to override upstream docs_link should do so in + # an @observe('vdocs') rather than the init, since plugin instances have + # already been initialized plugin._obj.vdocs = self.app.vdocs def load_data(self, data, data_label=None): diff --git a/lcviz/plugins/metadata_viewer/metadata_viewer.py b/lcviz/plugins/metadata_viewer/metadata_viewer.py index 4754c05..db32e16 100644 --- a/lcviz/plugins/metadata_viewer/metadata_viewer.py +++ b/lcviz/plugins/metadata_viewer/metadata_viewer.py @@ -38,4 +38,4 @@ def __init__(self, *args, **kwargs): @observe('vdocs') def _update_docs_link(self, *args): - self.docs_link = f"https://lcviz.readthedocs.io/en/{self.vdocs}/plugins.html#metadata-viewer" \ No newline at end of file + self.docs_link = f"https://lcviz.readthedocs.io/en/{self.vdocs}/plugins.html#metadata-viewer" # noqa \ No newline at end of file diff --git a/lcviz/plugins/subset_plugin/subset_plugin.py b/lcviz/plugins/subset_plugin/subset_plugin.py index b799a66..c2c2a7e 100644 --- a/lcviz/plugins/subset_plugin/subset_plugin.py +++ b/lcviz/plugins/subset_plugin/subset_plugin.py @@ -24,4 +24,4 @@ def __init__(self, *args, **kwargs): @observe('vdocs') def _update_docs_link(self, *args): - self.docs_link = f"https://lcviz.readthedocs.io/en/{self.vdocs}/plugins.html#subset-tools" \ No newline at end of file + self.docs_link = f"https://lcviz.readthedocs.io/en/{self.vdocs}/plugins.html#subset-tools" # noqa