Conversation
| @@ -14,18 +14,6 @@ def cache(file=None): | |||
| return redirect(url_for('static', filename="cache")) | |||
| return redirect(url_for('static', filename="cache/" + toCacheFilename(file, False))) | |||
There was a problem hiding this comment.
[pylint] reported by reviewdog 🐶
E0602: Undefined variable 'toCacheFilename' (undefined-variable)
| @@ -2,7 +2,7 @@ | |||
| import re | |||
| from flask_login import current_user, login_required | |||
| from augur.application.db.models import Repo, RepoGroup, UserGroup, UserRepo | |||
There was a problem hiding this comment.
[pylint] reported by reviewdog 🐶
W0611: Unused RepoGroup imported from augur.application.db.models (unused-import)
| from augur.tasks.frontend import add_github_orgs_and_repos, parse_org_and_repo_name, parse_org_name, add_gitlab_repos | ||
| from .utils import * | ||
| from ..server import app | ||
| from augur.application.db.session import DatabaseSession |
There was a problem hiding this comment.
[pylint] reported by reviewdog 🐶
W0611: Unused DatabaseSession imported from augur.application.db.session (unused-import)
| add_existing_repo_to_group(logger, session, group_id, repo.repo_id) | ||
| continue | ||
|
|
||
| add_github_repo(logger, session, url, repo_group_id, group_id, repo_src_id) |
There was a problem hiding this comment.
[pylint] reported by reviewdog 🐶
E1120: No value for argument 'repo_src_id' in function call (no-value-for-parameter)
|
|
||
| def add_gitlab_repo(session, url, repo_group_id, group_id): | ||
|
|
||
| repo_id = Repo.insert_gitlab_repo(session, url, repo_group_id, "Frontend") |
There was a problem hiding this comment.
[pylint] reported by reviewdog 🐶
E1120: No value for argument 'repo_src_id' in staticmethod call (no-value-for-parameter)
| @@ -1,9 +1,18 @@ | |||
| import logging | |||
| import re | |||
| import sqlalchemy as s | |||
There was a problem hiding this comment.
[pylint] reported by reviewdog 🐶
W0611: Unused sqlalchemy imported as s (unused-import)
Signed commits