Skip to content

Commit 8776a7f

Browse files
authored
Merge pull request #70 from shaeespring/shaeespring/dependabot
dependabot and PR template
2 parents 854c149 + 8c63b10 commit 8776a7f

File tree

4 files changed

+35
-2
lines changed

4 files changed

+35
-2
lines changed

.github/dependabot.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "pip" # See documentation for possible values
9+
directory: "/" # Location of package manifests
10+
schedule:
11+
interval: "monthly"
12+
target-branch: "develop"

.github/pull_request_template.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
## What
2+
3+
_what the PR changes_
4+
5+
## Why
6+
7+
_why these changes were made_
8+
9+
## Test Plan
10+
11+
_how did you verify these changes did what you expected_
12+
13+
## Env Vars
14+
15+
_did you add, remove, or rename any environment variables_
16+
17+
## Checklist
18+
19+
- [ ] Tested all changes locally

selections/blueprints/application.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ def get_application(app_id, info=None):
2424
flash('You already reviewed that application!')
2525
return redirect(url_for('main'))
2626

27+
fields = Criteria.query.filter_by(medium='Paper').all()
28+
2729
return render_template(
2830
'vote.html',
2931
application=applicant_info,

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)