bundlewrap / bundlewrap

Function/method with an empty body PTC-W0049
Anti-pattern
Major
6 months ago3 years old
validate_name doesn't contain any code
923        pass
924
925    @classmethod
926    def validate_name(cls, bundle, name):927        """
928        Raise BundleError if the given name is not valid (e.g. contains
929        invalid characters for this kind of item.
validate_attributes doesn't contain any code
913        pass
914
915    @classmethod
916    def validate_attributes(cls, bundle, item_id, attributes):917        """
918        Raises BundleError if something is amiss with the user-specified
919        attributes.
test doesn't contain any code
902        """
903        raise NotImplementedError()
904
905    def test(self):906        """
907        Used by `bw repo test`. Should do as much as possible to detect
908        what would become a runtime error during a `bw apply`. Files