From 1e1feefc09c305699941cc4cd4f9b89bce0c4d44 Mon Sep 17 00:00:00 2001 From: Pete R Jemian Date: Tue, 28 Dec 2021 16:33:56 -0600 Subject: [PATCH] CI #184 LGTM --- punx/nxdl_manager.py | 2 +- punx/schema_manager.py | 2 +- punx/validations/base_class_items_in_hdf5_group.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/punx/nxdl_manager.py b/punx/nxdl_manager.py index e93190d5..1d3b0b44 100644 --- a/punx/nxdl_manager.py +++ b/punx/nxdl_manager.py @@ -363,7 +363,7 @@ def assign_defaults(self): self.__setattr__(k, v.default_value) -class NXDL__definition(NXDL__base): +class NXDL__definition(NXDL__base): # lgtm [py/missing-call-to-init] """ Contents of a *definition* element in a NXDL XML file. diff --git a/punx/schema_manager.py b/punx/schema_manager.py index 2a92f1ef..58dc20f8 100644 --- a/punx/schema_manager.py +++ b/punx/schema_manager.py @@ -522,7 +522,7 @@ def __init__(self, xml_obj, obj_name=None, ns_dict=None, schema_root=None): type_obj.copy_to(self) -class Schema_Type(_Mixin): +class Schema_Type(_Mixin): # lgtm [py/missing-call-to-init] """ a named NXDL structure type (such as groupGroup) diff --git a/punx/validations/base_class_items_in_hdf5_group.py b/punx/validations/base_class_items_in_hdf5_group.py index 36ab3926..221e0c9d 100644 --- a/punx/validations/base_class_items_in_hdf5_group.py +++ b/punx/validations/base_class_items_in_hdf5_group.py @@ -54,7 +54,7 @@ def verify(validator, v_item, base_class): minOccurs = int(group_object.attributes.get("minOccurs", minOccurs)) group_object.minOccurs = minOccurs # --------------------------------------------------------- - pass # FIXME: report if required item is present, name could be flexible + # FIXME: report if required item is present, name could be flexible for link_name, link_obj in base_class.links.items(): # noqa pass # TODO: complete