Skip to content

Commit

Permalink
fix backend linter (#149)
Browse files Browse the repository at this point in the history
* update backend build package reqs for linter

* lint files
  • Loading branch information
bowenzhu1 authored Feb 23, 2023
1 parent 35c1336 commit f364270
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ def seed_downgrade_data(
long_term_goals,
short_term_goals,
):

op.bulk_insert(
child_concerns,
[
Expand Down
10 changes: 5 additions & 5 deletions backend/python/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
alembic==1.5.2
appdirs==1.4.4
attrs==21.2.0
black==20.8b1
black==23.1.0
CacheControl==0.12.6
cachetools==4.2.1
certifi==2020.12.5
cffi==1.14.5
chardet==4.0.0
click==7.1.2
click==8.0.0
coverage==6.4.1
dnspython==1.16.0
firebase-admin==4.5.3
Expand Down Expand Up @@ -39,8 +39,8 @@ mongoengine==0.23.0
mongomock==3.23.0
msgpack==1.0.2
mypy-extensions==0.4.3
packaging==20.9
pathspec==0.8.1
packaging==22.0
pathspec==0.9.0
pluggy==0.13.1
proto-plus==1.18.1
protobuf==3.18.3
Expand All @@ -65,7 +65,7 @@ six==1.15.0
SQLAlchemy==1.3.22
toml==0.10.2
typed-ast==1.4.2
typing-extensions==3.7.4.3
typing-extensions==3.10.0.0
uritemplate==3.0.1
urllib3==1.26.5
Werkzeug==1.0.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ def access_type_service():
{"access_type": "VIRTUAL", "is_default": True},
]


# TODO: remove this step when migrations are configured to run against test db
def seed_database():
access_type_instances = [AccessType(**data) for data in DEFAULT_ACCESS_TYPES]
Expand Down
1 change: 1 addition & 0 deletions backend/python/tests/functional/test_branch_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ def branch_service():

DEFAULT_BRANCH = {"branch": "ALGOMA", "is_default": True}


# TODO: remove this step when migrations are configured to run against test db
def seed_database():
branch_instance = Branch(**DEFAULT_BRANCH)
Expand Down

0 comments on commit f364270

Please sign in to comment.