@classmethod
    def discover(cls, base=None):
        if base is None:
            base = os.getcwd()
        here = base
        while 1:
            project = cls.from_path(here, extension_required=True)
            if project is not None:
                return project
            node = os.path.dirname(here)
            if node == here:
                break
            here = node
Listed addons are not validated as "self-hosted" addons.
dataset/ETHPy150Open lektor/lektor-archive/lektor/project.py/Project.discover--crossover with--dataset/ETHPy150Open mozilla/addons-server/src/olympia/devhub/tests/test_views_validation.py/TestValidateAddon.test_upload_listed_addon