-
Notifications
You must be signed in to change notification settings - Fork 846
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debugging of dev
branch looks complete
#2810
Conversation
Signed-off-by: Sean P. Goggins <[email protected]>
Signed-off-by: Sean P. Goggins <[email protected]>
…t using a materialized view. Signed-off-by: Sean P. Goggins <[email protected]>
update check for pr_file_patch
Signed-off-by: Sean P. Goggins <[email protected]>
Signed-off-by: Sean P. Goggins <[email protected]>
Signed-off-by: Sean P. Goggins <[email protected]>
Signed-off-by: Sean P. Goggins <[email protected]>
Signed-off-by: Sean P. Goggins <[email protected]>
Signed-off-by: Sean P. Goggins <[email protected]>
Signed-off-by: Sean P. Goggins <[email protected]>
Signed-off-by: Andrew Brain <[email protected]>
Signed-off-by: Andrew Brain <[email protected]>
Signed-off-by: Andrew Brain <[email protected]>
Signed-off-by: Andrew Brain <[email protected]>
Signed-off-by: Sean P. Goggins <[email protected]>
Signed-off-by: Sean P. Goggins <[email protected]>
Signed-off-by: Sean P. Goggins <[email protected]>
Signed-off-by: Sean P. Goggins <[email protected]>
Signed-off-by: Sean P. Goggins <[email protected]>
Signed-off-by: Sean Goggins <[email protected]>
Signed-off-by: Sean P. Goggins <[email protected]>
Signed-off-by: Sean P. Goggins <[email protected]>
Signed-off-by: Sean P. Goggins <[email protected]>
Signed-off-by: Sean P. Goggins <[email protected]>
Signed-off-by: Sean P. Goggins <[email protected]>
Signed-off-by: Sean P. Goggins <[email protected]>
Signed-off-by: Sean P. Goggins <[email protected]>
Signed-off-by: Sean P. Goggins <[email protected]>
Signed-off-by: Sean P. Goggins <[email protected]>
Signed-off-by: Sean P. Goggins <[email protected]>
Signed-off-by: Sean P. Goggins <[email protected]>
Signed-off-by: Sean P. Goggins <[email protected]>
Signed-off-by: Sean P. Goggins <[email protected]>
Signed-off-by: Sean P. Goggins <[email protected]>
Signed-off-by: Sean P. Goggins <[email protected]>
Signed-off-by: Sean P. Goggins <[email protected]>
Signed-off-by: Sean P. Goggins <[email protected]>
Signed-off-by: Sean P. Goggins <[email protected]>
Signed-off-by: Sean P. Goggins <[email protected]>
@@ -1,4 +1,7 @@ | |||
import requests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[pylint] reported by reviewdog 🐶
C0114: Missing module docstring (missing-module-docstring)
@@ -1,4 +1,7 @@ | |||
import requests | |||
import logging | |||
|
|||
logger = logging.getLogger(__name__) | |||
|
|||
def get_NPM_data(package): | |||
url = "https://registry.npmjs.org/%s" % package |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[pylint] reported by reviewdog 🐶
C0209: Formatting a regular string which could be an f-string (consider-using-f-string)
try: | ||
index = list(versions.keys()).index(version) | ||
except ValueError as e: | ||
logger.info(f'error is {e} on the NPM. Some kind of value error. Probably a VALUES error for Node, #AmIRight?') | ||
raise e | ||
|
||
major,minor,patch = split_version(version) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[pylint] reported by reviewdog 🐶
W0612: Unused variable 'patch' (unused-variable)
@@ -5,12 +5,12 @@ | |||
from augur.tasks.init.celery_app import AugurCoreRepoCollectionTask | |||
from augur.application.db.data_parse import * |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[pylint] reported by reviewdog 🐶
W0401: Wildcard import augur.application.db.data_parse (wildcard-import)
@@ -133,7 +133,7 @@ def process_large_issue_and_pr_message_collection(repo_id, repo_git: str, logger | |||
process_messages(all_data, task_name, repo_id, logger, augur_db) | |||
|
|||
|
|||
def process_messages(messages, task_name, repo_id, logger): | |||
def process_messages(messages, task_name, repo_id, logger, augur_db): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[pylint] reported by reviewdog 🐶
R0914: Too many local variables (39/30) (too-many-locals)
return request | ||
|
||
|
||
def build_facade_repo_collect_request(logger, enabled_phase_names, days_until_collect_again = 1): | ||
def build_facade_repo_collect_request(session, logger, enabled_phase_names, days_until_collect_again = 1): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[pylint] reported by reviewdog 🐶
W0613: Unused argument 'enabled_phase_names' (unused-argument)
return request | ||
|
||
|
||
def build_facade_repo_collect_request(logger, enabled_phase_names, days_until_collect_again = 1): | ||
def build_facade_repo_collect_request(session, logger, enabled_phase_names, days_until_collect_again = 1): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[pylint] reported by reviewdog 🐶
W0613: Unused argument 'days_until_collect_again' (unused-argument)
return request | ||
|
||
def build_ml_repo_collect_request(logger, enabled_phase_names, days_until_collect_again = 1): | ||
def build_ml_repo_collect_request(session, logger, enabled_phase_names, days_until_collect_again = 1): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[pylint] reported by reviewdog 🐶
W0613: Unused argument 'logger' (unused-argument)
return request | ||
|
||
def build_ml_repo_collect_request(logger, enabled_phase_names, days_until_collect_again = 1): | ||
def build_ml_repo_collect_request(session, logger, enabled_phase_names, days_until_collect_again = 1): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[pylint] reported by reviewdog 🐶
W0613: Unused argument 'enabled_phase_names' (unused-argument)
return request | ||
|
||
def build_ml_repo_collect_request(logger, enabled_phase_names, days_until_collect_again = 1): | ||
def build_ml_repo_collect_request(session, logger, enabled_phase_names, days_until_collect_again = 1): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[pylint] reported by reviewdog 🐶
W0613: Unused argument 'days_until_collect_again' (unused-argument)
…with admin on the repo for the platform to return anything. It never works out. Saving resources. Signed-off-by: Sean P. Goggins <[email protected]>
@@ -32,27 +32,27 @@ def collect_github_repo_clones_data(repo_git: str) -> None: | |||
logger.info(f"{owner}/{repo} has no clones") | |||
|
|||
def retrieve_all_clones_data(repo_git: str, logger, key_auth): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[pylint] reported by reviewdog 🐶
W0613: Unused argument 'repo_git' (unused-argument)
@@ -32,27 +32,27 @@ def collect_github_repo_clones_data(repo_git: str) -> None: | |||
logger.info(f"{owner}/{repo} has no clones") | |||
|
|||
def retrieve_all_clones_data(repo_git: str, logger, key_auth): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[pylint] reported by reviewdog 🐶
W0613: Unused argument 'logger' (unused-argument)
@@ -32,27 +32,27 @@ def collect_github_repo_clones_data(repo_git: str) -> None: | |||
logger.info(f"{owner}/{repo} has no clones") | |||
|
|||
def retrieve_all_clones_data(repo_git: str, logger, key_auth): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[pylint] reported by reviewdog 🐶
W0613: Unused argument 'key_auth' (unused-argument)
Signed-off-by: Sean Goggins <[email protected]>
Signed-off-by: Sean Goggins <[email protected]>
Signed-off-by: Sean P. Goggins <[email protected]>
#dependencies = contents['dependencies'] | ||
dependencies = contents.get('dependencies', []) | ||
|
||
if not dependencies: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[pylint] reported by reviewdog 🐶
R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return)
print("No dependencies found.") | ||
return [] | ||
else: | ||
print("Dependencies found.") | ||
for dep in dependencies: | ||
if (type(dep) is dict) and dep['pip']: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[pylint] reported by reviewdog 🐶
C0123: Use isinstance() rather than type() for a typecheck. (unidiomatic-typecheck)
…tasks/git/dependency_libyear_tasks/tasks.py,: cannot open `/home/sean/github/rh-k12/augur/tasks/git/dependency_libyear_tasks/tasks.py,' (No such file or directory) line: cannot open `line' (No such file or directory) 12,: cannot open `12,' (No such file or directory) in: cannot open `in' (No such file or directory) process_libyear_dependency_metrics: cannot open `process_libyear_dependency_metrics' (No such file or directory) Signed-off-by: Sean P. Goggins <[email protected]>
Description
dev