Skip to content

Commit 41027c3

Browse files
committed
fix lint issues on comment.py
1 parent 027ae64 commit 41027c3

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

client/src/components/header.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class Header {
3737
self.pagebackBtn.removeClass('right').addClass('left');
3838
pip.content.trigger('page:change', 'exp');
3939
}
40-
40+
4141
}
4242
}
4343

client/src/components/vis/linechart-ctx.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,4 +360,4 @@ export class LineChartCtx extends pip.Events {
360360
}
361361
return { x, y };
362362
}
363-
}
363+
}

mtv/controllers/comment.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class Comment(Resource):
1414
update a comment item
1515
"""
1616

17-
def get(self, comment):
17+
def get(self, event):
1818
"""GET /api/v1/comments/<event:string>/"""
1919

2020
query = {
@@ -56,7 +56,7 @@ class Comments(Resource):
5656
def get(self):
5757
""" Return comment list of a given datarun. If the datarun is not
5858
specified, return all events.
59-
59+
6060
GET /api/v1/comments/event?=xxx
6161
"""
6262

mtv/controllers/event.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def put(self, event):
3434
score = body.get('score', None)
3535
tag = body.get('tag', None)
3636

37-
print (start_time, stop_time, score)
37+
print(start_time, stop_time, score)
3838
if (None in [start_time, stop_time, score]):
3939
LOGGER.exception('incorrect event information updating an event')
4040
raise ValueError

0 commit comments

Comments
 (0)