@property
    def remote_url(self):
        if self.url.startswith(('ssh:', 'http:', 'https:')):
            parsed = urlparse(self.url)
            port = ((parsed.port,) % ':%s' if parsed.port else '')
            url = '%s://%s@%s/%s' % (
                parsed.scheme,
                parsed.username or self.username or 'git',
                parsed.hostname + port,
                parsed.path.lstrip('/'),
            )
        else:
            url = self.url
        return url
dataset/ETHPy150Open getsentry/freight/freight/vcs/git.py/GitVcs.remote_url/swapped operands of `%`