Skip to content

Commit

Permalink
Apply upgraded black 23.3.0 formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanw committed May 24, 2023
1 parent 5204968 commit 65c1f2d
Show file tree
Hide file tree
Showing 236 changed files with 0 additions and 239 deletions.
1 change: 0 additions & 1 deletion froide/accesstoken/migrations/0001_initial.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@


class Migration(migrations.Migration):

initial = True

dependencies = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@


class Migration(migrations.Migration):

dependencies = [
("accesstoken", "0001_initial"),
]
Expand Down
1 change: 0 additions & 1 deletion froide/account/migrations/0001_initial.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@


class Migration(migrations.Migration):

dependencies = [
("auth", "0006_require_contenttypes_0002"),
]
Expand Down
1 change: 0 additions & 1 deletion froide/account/migrations/0002_auto_20150729_0828.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@


class Migration(migrations.Migration):

dependencies = [
("account", "0001_initial"),
]
Expand Down
1 change: 0 additions & 1 deletion froide/account/migrations/0003_auto_20160125_2127.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@


class Migration(migrations.Migration):

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


class Migration(migrations.Migration):

dependencies = [
("account", "0003_auto_20160125_2127"),
]
Expand Down
1 change: 0 additions & 1 deletion froide/account/migrations/0005_user_is_blocked.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@


class Migration(migrations.Migration):

dependencies = [
("account", "0004_user_is_trusted"),
]
Expand Down
1 change: 0 additions & 1 deletion froide/account/migrations/0006_auto_20160902_1845.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@


class Migration(migrations.Migration):

dependencies = [
("account", "0005_user_is_blocked"),
]
Expand Down
1 change: 0 additions & 1 deletion froide/account/migrations/0007_auto_20170912_1032.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@


class Migration(migrations.Migration):

dependencies = [
("account", "0006_auto_20160902_1845"),
]
Expand Down
1 change: 0 additions & 1 deletion froide/account/migrations/0008_auto_20170912_1036.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ def set_email_empty(apps, schema_editor):


class Migration(migrations.Migration):

dependencies = [
("account", "0007_auto_20170912_1032"),
]
Expand Down
1 change: 0 additions & 1 deletion froide/account/migrations/0009_auto_20170912_1041.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@


class Migration(migrations.Migration):

dependencies = [
("account", "0008_auto_20170912_1036"),
]
Expand Down
1 change: 0 additions & 1 deletion froide/account/migrations/0010_auto_20171011_2152.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ def forwards_func(apps, schema_editor):


class Migration(migrations.Migration):

dependencies = [
("account", "0009_auto_20170912_1041"),
]
Expand Down
1 change: 0 additions & 1 deletion froide/account/migrations/0011_auto_20171106_1503.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@


class Migration(migrations.Migration):

dependencies = [
("account", "0010_auto_20171011_2152"),
]
Expand Down
1 change: 0 additions & 1 deletion froide/account/migrations/0012_application.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@


class Migration(migrations.Migration):

dependencies = [
("account", "0011_auto_20171106_1503"),
]
Expand Down
1 change: 0 additions & 1 deletion froide/account/migrations/0013_auto_20180417_1113.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@


class Migration(migrations.Migration):

dependencies = [
("account", "0012_application"),
]
Expand Down
1 change: 0 additions & 1 deletion froide/account/migrations/0014_user_date_deactivated.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@


class Migration(migrations.Migration):

dependencies = [
("account", "0013_auto_20180417_1113"),
]
Expand Down
1 change: 0 additions & 1 deletion froide/account/migrations/0015_auto_20190109_1339.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@


class Migration(migrations.Migration):

dependencies = [
("account", "0014_user_date_deactivated"),
]
Expand Down
1 change: 0 additions & 1 deletion froide/account/migrations/0016_auto_20190212_1101.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@


class Migration(migrations.Migration):

dependencies = [
("taggit", "0002_auto_20150616_2121"),
("account", "0015_auto_20190109_1339"),
Expand Down
1 change: 0 additions & 1 deletion froide/account/migrations/0017_auto_20190309_1153.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@


class Migration(migrations.Migration):

dependencies = [
("account", "0016_auto_20190212_1101"),
]
Expand Down
1 change: 0 additions & 1 deletion froide/account/migrations/0018_auto_20190309_1153.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ def create_tags(apps, schema_editor):


class Migration(migrations.Migration):

dependencies = [
("account", "0017_auto_20190309_1153"),
]
Expand Down
1 change: 0 additions & 1 deletion froide/account/migrations/0019_auto_20190309_1223.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@


class Migration(migrations.Migration):

dependencies = [
("account", "0018_auto_20190309_1153"),
]
Expand Down
1 change: 0 additions & 1 deletion froide/account/migrations/0020_auto_20190309_1223.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ def set_tags(apps, schema_editor):


class Migration(migrations.Migration):

dependencies = [
("account", "0019_auto_20190309_1223"),
]
Expand Down
1 change: 0 additions & 1 deletion froide/account/migrations/0021_auto_20190309_1226.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@


class Migration(migrations.Migration):

dependencies = [
("account", "0020_auto_20190309_1223"),
]
Expand Down
1 change: 0 additions & 1 deletion froide/account/migrations/0022_accountblacklist.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@


class Migration(migrations.Migration):

dependencies = [
("account", "0021_auto_20190309_1226"),
]
Expand Down
1 change: 0 additions & 1 deletion froide/account/migrations/0023_auto_20200527_1240.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@


class Migration(migrations.Migration):

dependencies = [
("account", "0022_accountblacklist"),
]
Expand Down
1 change: 0 additions & 1 deletion froide/account/migrations/0024_auto_20200608_1111.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@


class Migration(migrations.Migration):

dependencies = [
("account", "0023_auto_20200527_1240"),
]
Expand Down
1 change: 0 additions & 1 deletion froide/account/migrations/0025_auto_20200812_1212.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@


class Migration(migrations.Migration):

dependencies = [
("account", "0024_auto_20200608_1111"),
]
Expand Down
1 change: 0 additions & 1 deletion froide/account/migrations/0026_auto_20201221_1953.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@


class Migration(migrations.Migration):

dependencies = [
("account", "0025_auto_20200812_1212"),
]
Expand Down
1 change: 0 additions & 1 deletion froide/account/migrations/0027_auto_20210412_1518.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@


class Migration(migrations.Migration):

dependencies = [
("account", "0026_auto_20201221_1953"),
]
Expand Down
1 change: 0 additions & 1 deletion froide/account/migrations/0028_user_email_ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@


class Migration(migrations.Migration):

dependencies = [
("account", "0027_auto_20210412_1518"),
]
Expand Down
1 change: 0 additions & 1 deletion froide/account/migrations/0029_auto_20210428_1225.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ def copy_email_address(apps, schema_editor):


class Migration(migrations.Migration):

dependencies = [
("account", "0028_user_email_ci"),
]
Expand Down
1 change: 0 additions & 1 deletion froide/account/migrations/0030_auto_20210517_1420.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@


class Migration(migrations.Migration):

dependencies = [
("account", "0029_auto_20210428_1225"),
]
Expand Down
1 change: 0 additions & 1 deletion froide/account/migrations/0031_auto_20210517_1421.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ def update_email_address(apps, schema_editor):


class Migration(migrations.Migration):

dependencies = [
("account", "0030_auto_20210517_1420"),
]
Expand Down
1 change: 0 additions & 1 deletion froide/account/migrations/0032_auto_20211203_1058.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@


class Migration(migrations.Migration):

dependencies = [
("account", "0031_auto_20210517_1421"),
]
Expand Down
1 change: 0 additions & 1 deletion froide/account/migrations/0033_auto_20220215_1533.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@


class Migration(migrations.Migration):

dependencies = [
("account", "0032_auto_20211203_1058"),
]
Expand Down
1 change: 0 additions & 1 deletion froide/account/migrations/0034_user_notes.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@


class Migration(migrations.Migration):

dependencies = [
("account", "0033_auto_20220215_1533"),
]
Expand Down
1 change: 0 additions & 1 deletion froide/account/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ def profile_photo_path(instance=None, filename=None):


class User(AbstractBaseUser, PermissionsMixin):

username_validator = UnicodeUsernameValidator()

username = models.CharField(
Expand Down
1 change: 0 additions & 1 deletion froide/account/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ def get_foirequest(self):
def confirm(
request: HttpRequest, user_id: int, secret: str, request_id: Optional[int] = None
) -> HttpResponseRedirect:

if request.user.is_authenticated:
if request.user.id != user_id:
messages.add_message(
Expand Down
1 change: 0 additions & 1 deletion froide/bounce/migrations/0001_initial.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@


class Migration(migrations.Migration):

initial = True

dependencies = [
Expand Down
1 change: 0 additions & 1 deletion froide/bounce/migrations/0002_auto_20181107_1950.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@


class Migration(migrations.Migration):

dependencies = [
("bounce", "0001_initial"),
]
Expand Down
1 change: 0 additions & 1 deletion froide/campaign/migrations/0001_initial.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@


class Migration(migrations.Migration):

initial = True

dependencies = []
Expand Down
1 change: 0 additions & 1 deletion froide/campaign/migrations/0002_auto_20190309_1241.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@


class Migration(migrations.Migration):

dependencies = [
("campaign", "0001_initial"),
]
Expand Down
1 change: 0 additions & 1 deletion froide/campaign/migrations/0003_campaign_ident.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@


class Migration(migrations.Migration):

dependencies = [
("campaign", "0002_auto_20190309_1241"),
]
Expand Down
1 change: 0 additions & 1 deletion froide/campaign/migrations/0004_campaign_active.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@


class Migration(migrations.Migration):

dependencies = [
("campaign", "0003_campaign_ident"),
]
Expand Down
1 change: 0 additions & 1 deletion froide/campaign/migrations/0005_campaign_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@


class Migration(migrations.Migration):

dependencies = [
("auth", "0009_alter_user_last_name_max_length"),
("campaign", "0004_campaign_active"),
Expand Down
1 change: 0 additions & 1 deletion froide/campaign/migrations/0006_auto_20190826_1451.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@


class Migration(migrations.Migration):

dependencies = [
("campaign", "0005_campaign_group"),
]
Expand Down
1 change: 0 additions & 1 deletion froide/campaign/migrations/0007_campaign_report_url.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@


class Migration(migrations.Migration):

dependencies = [
("campaign", "0006_auto_20190826_1451"),
]
Expand Down
1 change: 0 additions & 1 deletion froide/comments/migrations/0001_initial.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@


class Migration(migrations.Migration):

initial = True

dependencies = [
Expand Down
1 change: 0 additions & 1 deletion froide/comments/migrations/0002_auto_20210505_1720.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@


class Migration(migrations.Migration):

dependencies = [
("comments", "0001_initial"),
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@


class Migration(migrations.Migration):

dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
("contenttypes", "0002_remove_content_type_name"),
Expand Down
Loading

0 comments on commit 65c1f2d

Please sign in to comment.