Skip to content

Commit fe708ca

Browse files
committedAug 17, 2021
Add packet/routes to pylint in ci
Fixes the pylint command introduced in 881dbc8, as well as a lint error introduced in c10fd58.
1 parent 7f7ad70 commit fe708ca

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎.github/workflows/python-app.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
3232
- name: Lint with pylint
3333
run: |
34-
pylint packet
34+
pylint packet/routes packet
3535
3636
typecheck:
3737
runs-on: ubuntu-latest

‎packet/routes/api.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,8 @@ def upperclassman_stats(uid):
210210

211211
@app.route('/readiness')
212212
def readiness() -> tuple[str, int]:
213-
'''A basic healthcheck. Returns 200 to indicate flask is running'''
214-
return "ready", 200
213+
"""A basic healthcheck. Returns 200 to indicate flask is running"""
214+
return 'ready', 200
215215

216216

217217
def commit_sig(packet, was_100, uid):

0 commit comments

Comments
 (0)