Skip to content

Commit

Permalink
fix typos and add module doc-strings
Browse files Browse the repository at this point in the history
Signed-off-by: Isaac Milarsky <isaac.milarsky@hhs.cms.gov>
  • Loading branch information
IsaacMilarky committed Jan 23, 2024
1 parent 9ab76e7 commit b166fd6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
3 changes: 3 additions & 0 deletions augur/api/view/routes.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
"""
Defines the api routes for the augur views
"""
import logging
import math
from flask import Flask, render_template, render_template_string, request, abort, jsonify, redirect, url_for, session, flash
Expand Down
3 changes: 3 additions & 0 deletions augur/api/view/utils.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
"""
Defines utility functions used by the augur api views
"""
from pathlib import Path
from concurrent.futures import ThreadPoolExecutor
from flask import render_template, flash, url_for, Flask
Expand Down
6 changes: 3 additions & 3 deletions augur/application/db/data_parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,7 @@ def extract_needed_mr_reviewer_data(data: List[dict], pull_request_id, tool_sour
Returns:
List of extracted relevent data from needed mr reviwer data
List of extracted relevant data from needed mr reviwer data
"""

if len(data) == 0:
Expand Down Expand Up @@ -1080,7 +1080,7 @@ def extract_needed_mr_metadata(mr_dict, repo_id, pull_request_id, tool_source, t
def extract_needed_gitlab_issue_message_ref_data(message: dict, issue_id: int, repo_id: int, tool_source: str, tool_version: str, data_source: str) -> List[dict]:
"""
Extract the message id for a given message on an issue from an api response
and connect it to the relevent repo id.
and connect it to the relevant repo id.
Arguments:
message: message data dict
Expand Down Expand Up @@ -1111,7 +1111,7 @@ def extract_needed_gitlab_issue_message_ref_data(message: dict, issue_id: int, r
def extract_needed_gitlab_message_data(comment: dict, platform_id: int, tool_source: str, tool_version: str, data_source: str):
"""
Extract specific metadata for a comment from an api response
and connect it to the relevent platform id.
and connect it to the relevant platform id.
Arguments:
comment: comment data dict
Expand Down

0 comments on commit b166fd6

Please sign in to comment.