Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
isabelrios committed Feb 7, 2025
1 parent 19d6177 commit b38f32b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions testrail.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ def __init__(self):
# API: Milestones
# https://mozilla.testrail.io/index.php?/api/v2/get_milestones/59
def milestones(self, testrail_project_id):
return self.client.send_get('get_milestones/{0}'.format(testrail_project_id))
return self.client.send_get(
'get_milestones/{0}'.format(testrail_project_id))

# API: Projects
def projects(self):
Expand Down Expand Up @@ -238,6 +239,7 @@ def testrail_milestones(self, project='all'):

self.db.report_milestones_insert(projects_id, df_selected)


class DatabaseTestRail(Database):

def __init__(self):
Expand Down Expand Up @@ -266,7 +268,8 @@ def report_milestones_insert(self, projects_id, payload):
for index, row in payload.iterrows():
print(row)

report = ReportTestRailMilestones(testrail_milestone_id=row['testrail_milestone_id'],
report = ReportTestRailMilestones(
testrail_milestone_id=row['testrail_milestone_id'], # noqa
projects_id=projects_id,
name=row['name'],
started_on=row['started_on'],
Expand Down

0 comments on commit b38f32b

Please sign in to comment.