dvershinin / lastversion

No blank lines allowed after function docstring FLK-D202
Documentation
Minor
2 months agoa year old
No blank lines allowed after function docstring
335
336
337def extract_tar(buffer: io.BytesIO, to_dir):
338    """Extract a tar/zip archive to dir.339    If the archive has only one top dir, it will be stripped.
340    """
341
No blank lines allowed after function docstring
173        )
174
175    def repo_license(self, tag):
176        """Get repo license."""177
178        response = self.get(
179            f"https://{self.hostname}/{self.repo}/-/raw/{tag}/LICENSE?ref_type=tags"
No blank lines allowed after function docstring
 71        return self.formal_releases_by_tag.get(tag)
 72
 73    def find_gitlab_project_path(self, uri):
 74        """ 75        Finds the GitLab project path from a given URL.
 76
 77        Args: