Commit 64537075 authored by Matthias Bernt's avatar Matthias Bernt
Browse files

make alias work

parent 089cc1f4
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -101,7 +101,6 @@ class Linter(ABC):
        """
        return cls.__name__

    @classmethod
    def list_linters(cls) -> List[str]:
        """
        list the names of all linter derived from Linter
@@ -109,10 +108,12 @@ class Linter(ABC):
        submodules.import_submodules(galaxy.tool_util.linters)
        return [s.__name__ for s in cls.__subclasses__()]

    @classmethod
    list_listers = list_linters  # deprecated alias


Linter.list_listers = classmethod(Linter.list_listers)


class LintMessage:
    """
    a message from the linter