Skip to content

Commit f364270

Browse files
authored
fix backend linter (#149)
* update backend build package reqs for linter * lint files
1 parent 35c1336 commit f364270

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

backend/python/migrations/versions/2022-07-03_57f14d8ff8bf_condense_goals_and_concerns_models.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,6 @@ def seed_downgrade_data(
160160
long_term_goals,
161161
short_term_goals,
162162
):
163-
164163
op.bulk_insert(
165164
child_concerns,
166165
[

backend/python/requirements.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
alembic==1.5.2
22
appdirs==1.4.4
33
attrs==21.2.0
4-
black==20.8b1
4+
black==23.1.0
55
CacheControl==0.12.6
66
cachetools==4.2.1
77
certifi==2020.12.5
88
cffi==1.14.5
99
chardet==4.0.0
10-
click==7.1.2
10+
click==8.0.0
1111
coverage==6.4.1
1212
dnspython==1.16.0
1313
firebase-admin==4.5.3
@@ -39,8 +39,8 @@ mongoengine==0.23.0
3939
mongomock==3.23.0
4040
msgpack==1.0.2
4141
mypy-extensions==0.4.3
42-
packaging==20.9
43-
pathspec==0.8.1
42+
packaging==22.0
43+
pathspec==0.9.0
4444
pluggy==0.13.1
4545
proto-plus==1.18.1
4646
protobuf==3.18.3
@@ -65,7 +65,7 @@ six==1.15.0
6565
SQLAlchemy==1.3.22
6666
toml==0.10.2
6767
typed-ast==1.4.2
68-
typing-extensions==3.7.4.3
68+
typing-extensions==3.10.0.0
6969
uritemplate==3.0.1
7070
urllib3==1.26.5
7171
Werkzeug==1.0.1

backend/python/tests/functional/test_access_type_service.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ def access_type_service():
2222
{"access_type": "VIRTUAL", "is_default": True},
2323
]
2424

25+
2526
# TODO: remove this step when migrations are configured to run against test db
2627
def seed_database():
2728
access_type_instances = [AccessType(**data) for data in DEFAULT_ACCESS_TYPES]

backend/python/tests/functional/test_branch_service.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ def branch_service():
1717

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

20+
2021
# TODO: remove this step when migrations are configured to run against test db
2122
def seed_database():
2223
branch_instance = Branch(**DEFAULT_BRANCH)

0 commit comments

Comments
 (0)