Skip to content

Commit

Permalink
Reformat with latest black version
Browse files Browse the repository at this point in the history
  • Loading branch information
mureytasroc committed Nov 5, 2023
1 parent 203e11c commit fe0907a
Show file tree
Hide file tree
Showing 8 changed files with 452 additions and 485 deletions.
2 changes: 1 addition & 1 deletion backend/Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]
black = "==21.9b0"
black = "==23.10.1"
unittest-xml-reporting = "*"
flake8 = "*"
flake8-isort = "*"
Expand Down
928 changes: 450 additions & 478 deletions backend/Pipfile.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion backend/accounts/backends.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def get_email(self, pennid):
return None

return response[0]["email"]
except (requests.exceptions.RequestException):
except requests.exceptions.RequestException:
return None

def authenticate(self, request, remote_user, shibboleth_attributes):
Expand Down
1 change: 0 additions & 1 deletion backend/accounts/migrations/0001_initial.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@


class Migration(migrations.Migration):

initial = True

dependencies = [("auth", "0011_update_proxy_permissions")]
Expand Down
1 change: 0 additions & 1 deletion backend/accounts/migrations/0002_auto_20200213_1711.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ def copy_permissions(apps, schema_editor):


class Migration(migrations.Migration):

dependencies = [("accounts", "0001_initial")]

operations = [
Expand Down
1 change: 0 additions & 1 deletion backend/accounts/migrations/0003_auto_20210918_2041.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ def create_email_objects(apps, schema_editor):


class Migration(migrations.Migration):

dependencies = [
("accounts", "0002_auto_20200213_1711"),
]
Expand Down
1 change: 0 additions & 1 deletion backend/accounts/migrations/0004_user_profile_pic.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@


class Migration(migrations.Migration):

dependencies = [
("accounts", "0003_auto_20210918_2041"),
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@


class Migration(migrations.Migration):

dependencies = [
("accounts", "0004_user_profile_pic"),
]
Expand Down

0 comments on commit fe0907a

Please sign in to comment.