FossilRepo

ruff format migration

lmata 2026-04-07 05:34 trunk
Commit 7de9c1146785aa730c3fbb0f97dde7a90abf129392cbb4b08b3a6985e5e37938
--- fossil/migrations/0005_alter_gitmirror_auth_credential_and_more.py
+++ fossil/migrations/0005_alter_gitmirror_auth_credential_and_more.py
@@ -7,11 +7,10 @@
77
88
import core.fields
99
1010
1111
class Migration(migrations.Migration):
12
-
1312
dependencies = [
1413
("fossil", "0004_historicalprojectwatch_notification_projectwatch"),
1514
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
1615
]
1716
@@ -37,13 +36,11 @@
3736
migrations.CreateModel(
3837
name="HistoricalUserSSHKey",
3938
fields=[
4039
(
4140
"id",
42
- models.BigIntegerField(
43
- auto_created=True, blank=True, db_index=True, verbose_name="ID"
44
- ),
41
+ models.BigIntegerField(auto_created=True, blank=True, db_index=True, verbose_name="ID"),
4542
),
4643
("version", models.PositiveIntegerField(default=1, editable=False)),
4744
("created_at", models.DateTimeField(blank=True, editable=False)),
4845
("updated_at", models.DateTimeField(blank=True, editable=False)),
4946
("deleted_at", models.DateTimeField(blank=True, null=True)),
@@ -54,13 +51,11 @@
5451
max_length=200,
5552
),
5653
),
5754
(
5855
"public_key",
59
- core.fields.EncryptedTextField(
60
- help_text="SSH public key (ssh-ed25519, ssh-rsa, etc.)"
61
- ),
56
+ core.fields.EncryptedTextField(help_text="SSH public key (ssh-ed25519, ssh-rsa, etc.)"),
6257
),
6358
(
6459
"fingerprint",
6560
models.CharField(blank=True, default="", max_length=100),
6661
),
@@ -161,13 +156,11 @@
161156
max_length=200,
162157
),
163158
),
164159
(
165160
"public_key",
166
- core.fields.EncryptedTextField(
167
- help_text="SSH public key (ssh-ed25519, ssh-rsa, etc.)"
168
- ),
161
+ core.fields.EncryptedTextField(help_text="SSH public key (ssh-ed25519, ssh-rsa, etc.)"),
169162
),
170163
(
171164
"fingerprint",
172165
models.CharField(blank=True, default="", max_length=100),
173166
),
174167
--- fossil/migrations/0005_alter_gitmirror_auth_credential_and_more.py
+++ fossil/migrations/0005_alter_gitmirror_auth_credential_and_more.py
@@ -7,11 +7,10 @@
7
8 import core.fields
9
10
11 class Migration(migrations.Migration):
12
13 dependencies = [
14 ("fossil", "0004_historicalprojectwatch_notification_projectwatch"),
15 migrations.swappable_dependency(settings.AUTH_USER_MODEL),
16 ]
17
@@ -37,13 +36,11 @@
37 migrations.CreateModel(
38 name="HistoricalUserSSHKey",
39 fields=[
40 (
41 "id",
42 models.BigIntegerField(
43 auto_created=True, blank=True, db_index=True, verbose_name="ID"
44 ),
45 ),
46 ("version", models.PositiveIntegerField(default=1, editable=False)),
47 ("created_at", models.DateTimeField(blank=True, editable=False)),
48 ("updated_at", models.DateTimeField(blank=True, editable=False)),
49 ("deleted_at", models.DateTimeField(blank=True, null=True)),
@@ -54,13 +51,11 @@
54 max_length=200,
55 ),
56 ),
57 (
58 "public_key",
59 core.fields.EncryptedTextField(
60 help_text="SSH public key (ssh-ed25519, ssh-rsa, etc.)"
61 ),
62 ),
63 (
64 "fingerprint",
65 models.CharField(blank=True, default="", max_length=100),
66 ),
@@ -161,13 +156,11 @@
161 max_length=200,
162 ),
163 ),
164 (
165 "public_key",
166 core.fields.EncryptedTextField(
167 help_text="SSH public key (ssh-ed25519, ssh-rsa, etc.)"
168 ),
169 ),
170 (
171 "fingerprint",
172 models.CharField(blank=True, default="", max_length=100),
173 ),
174
--- fossil/migrations/0005_alter_gitmirror_auth_credential_and_more.py
+++ fossil/migrations/0005_alter_gitmirror_auth_credential_and_more.py
@@ -7,11 +7,10 @@
7
8 import core.fields
9
10
11 class Migration(migrations.Migration):
 
12 dependencies = [
13 ("fossil", "0004_historicalprojectwatch_notification_projectwatch"),
14 migrations.swappable_dependency(settings.AUTH_USER_MODEL),
15 ]
16
@@ -37,13 +36,11 @@
36 migrations.CreateModel(
37 name="HistoricalUserSSHKey",
38 fields=[
39 (
40 "id",
41 models.BigIntegerField(auto_created=True, blank=True, db_index=True, verbose_name="ID"),
 
 
42 ),
43 ("version", models.PositiveIntegerField(default=1, editable=False)),
44 ("created_at", models.DateTimeField(blank=True, editable=False)),
45 ("updated_at", models.DateTimeField(blank=True, editable=False)),
46 ("deleted_at", models.DateTimeField(blank=True, null=True)),
@@ -54,13 +51,11 @@
51 max_length=200,
52 ),
53 ),
54 (
55 "public_key",
56 core.fields.EncryptedTextField(help_text="SSH public key (ssh-ed25519, ssh-rsa, etc.)"),
 
 
57 ),
58 (
59 "fingerprint",
60 models.CharField(blank=True, default="", max_length=100),
61 ),
@@ -161,13 +156,11 @@
156 max_length=200,
157 ),
158 ),
159 (
160 "public_key",
161 core.fields.EncryptedTextField(help_text="SSH public key (ssh-ed25519, ssh-rsa, etc.)"),
 
 
162 ),
163 (
164 "fingerprint",
165 models.CharField(blank=True, default="", max_length=100),
166 ),
167

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button