Skip to content
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

Fix ml issue #2834

Merged
merged 2 commits into from
Jun 25, 2024
Merged

Fix ml issue #2834

merged 2 commits into from
Jun 25, 2024

Conversation

ABrain7710
Copy link
Contributor

This fixes #2767

Signed commits

  • Yes, I signed my commits.

Signed-off-by: Andrew Brain <[email protected]>
@ABrain7710 ABrain7710 merged commit 4ccfba5 into dev Jun 25, 2024
7 of 8 checks passed
@@ -29,6 +29,8 @@
from augur.tasks.git.util.facade_worker.facade_worker.utilitymethods import get_facade_weight_time_factor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[pylint] reported by reviewdog 🐶
C0413: Import "from augur.tasks.git.util.facade_worker.facade_worker.utilitymethods import get_facade_weight_time_factor" should be placed at the top of the module (wrong-import-position)

@@ -29,6 +29,8 @@
from augur.tasks.git.util.facade_worker.facade_worker.utilitymethods import get_facade_weight_time_factor
from augur.application.db.lib import execute_sql, get_session

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[pylint] reported by reviewdog 🐶
C0413: Import "from augur.application.db.lib import execute_sql, get_session" should be placed at the top of the module (wrong-import-position)

@@ -140,7 +142,9 @@ def non_repo_domain_tasks(self):

enabled_tasks = []

if machine_learning_phase.__name__ in enabled_phase_names:
enabled_tasks.extend(generate_non_repo_domain_facade_tasks(logger))

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[pylint] reported by reviewdog 🐶
E0602: Undefined variable 'generate_non_repo_domain_facade_tasks' (undefined-variable)

if machine_learning_phase.__name__ in enabled_phase_names:
enabled_tasks.extend(generate_non_repo_domain_facade_tasks(logger))

if not RUNNING_DOCKER and machine_learning_phase.__name__ in enabled_phase_names:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[pylint] reported by reviewdog 🐶
E0601: Using variable 'machine_learning_phase' before assignment (used-before-assignment)

if machine_learning_phase.__name__ in enabled_phase_names:
enabled_tasks.extend(generate_non_repo_domain_facade_tasks(logger))

if not RUNNING_DOCKER and machine_learning_phase.__name__ in enabled_phase_names:
#enabled_tasks.extend(machine_learning_phase())
from augur.tasks.data_analysis.contributor_breadth_worker.contributor_breadth_worker import contributor_breadth_model

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[pylint] reported by reviewdog 🐶
C0415: Import outside toplevel (augur.tasks.data_analysis.contributor_breadth_worker.contributor_breadth_worker.contributor_breadth_model) (import-outside-toplevel)

@ABrain7710 ABrain7710 deleted the ml_phase_fix branch June 25, 2024 00:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants