Skip to content

Commit 70d6ec2

Browse files
committed
linter
1 parent cb140d3 commit 70d6ec2

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

selections/blueprints/application.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ def get_application(app_id, info=None):
2828
'vote.html',
2929
application=applicant_info,
3030
pdf_url='/application/content/'+app_id,
31-
info=info,
32-
fields=fields)
31+
info=info)
3332

3433
@app.route('/application/content/<app_id>')
3534
@auth.oidc_auth("default")

selections/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
class Applicant(db.Model):
1111
__tablename__ = 'application'
1212
id = Column(Integer, primary_key=True)
13-
created = Column(DateTime(timezone=True), server_default=func.now(), nullable=False)
13+
created = Column(DateTime(timezone=True), server_default=func.now(), nullable=False) #pylint: disable=not-callable
1414
body = Column(String(6000), nullable=True)
1515
team = Column(Integer, nullable=False)
1616
gender = Column(String(15), nullable=False)
@@ -26,7 +26,7 @@ class Members(db.Model):
2626

2727
class Submission(db.Model):
2828
id = Column(Integer, primary_key=True)
29-
created = Column(DateTime(timezone=True), server_default=func.now(), nullable=False)
29+
created = Column(DateTime(timezone=True), server_default=func.now(), nullable=False) #pylint: disable=not-callable
3030
application = Column(Integer, ForeignKey('application.id'), nullable=False)
3131
member = Column(String(50), ForeignKey('members.username'), nullable=False)
3232
medium = Column(interview_enum, primary_key=True)

0 commit comments

Comments
 (0)