ynop / audiomate

Missing module/function docstring PY-D0003
Documentation
Minor
6 occurrences in this check
Docstring missing for callback
109
110    bytes_at_last_log = 0
111
112    def callback(x):113        nonlocal bytes_at_last_log
114
115        if x.total_downloaded - bytes_at_last_log >= PROGRESS_LOGGER_BYTE_DELAY:
Docstring missing for type
 43                raise ValueError('There is no voxforge URL present for language {}!'.format(lang))
 44
 45    @classmethod
 46    def type(cls): 47        return 'voxforge'
 48
 49    def _download(self, target_path):
Docstring missing for _download
 46    def type(cls):
 47        return 'voxforge'
 48
 49    def _download(self, target_path): 50        temp_folder = os.path.join(target_path, 'download')
 51        os.makedirs(temp_folder, exist_ok=True)
 52
Docstring missing for type
147    """
148
149    @classmethod
150    def type(cls):151        return 'voxforge'
152
153    def _check_for_missing_files(self, path):
Docstring missing for _check_for_missing_files
150    def type(cls):
151        return 'voxforge'
152
153    def _check_for_missing_files(self, path):154        return []
155
156    def _load(self, path):
Docstring missing for _load
153    def _check_for_missing_files(self, path):
154        return []
155
156    def _load(self, path):157        corpus = audiomate.Corpus(path=path)
158
159        for dir_path in sorted(VoxforgeReader.data_folders(path)):