Skip to content

Commit eab20cb

Browse files
authored
Fix more yaml lint errors (#27284)
Fix #27268
1 parent 1f89a45 commit eab20cb

File tree

15 files changed

+21
-27
lines changed

15 files changed

+21
-27
lines changed

.yamllint.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,3 @@ rules:
4444
ignore: |
4545
.venv
4646
node_modules
47-
/models/fixtures
48-
/models/migrations/fixtures

models/fixtures/access.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,4 +135,3 @@
135135
user_id: 31
136136
repo_id: 28
137137
mode: 4
138-

models/fixtures/access_token.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
id: 1
33
uid: 1
44
name: Token A
5-
#token: d2c6c1ba3890b309189a8e618c72a162e4efbf36
5+
# token: d2c6c1ba3890b309189a8e618c72a162e4efbf36
66
token_hash: 2b3668e11cb82d3af8c6e4524fc7841297668f5008d1626f0ad3417e9fa39af84c268248b78c481daa7e5dc437784003494f
77
token_salt: QuSiZr1byZ
88
token_last_eight: e4efbf36
@@ -13,7 +13,7 @@
1313
id: 2
1414
uid: 1
1515
name: Token B
16-
#token: 4c6f36e6cf498e2a448662f915d932c09c5a146c
16+
# token: 4c6f36e6cf498e2a448662f915d932c09c5a146c
1717
token_hash: 1a0e32a231ebbd582dc626c1543a42d3c63d4fa76c07c72862721467c55e8f81c923d60700f0528b5f5f443f055559d3a279
1818
token_salt: Lfwopukrq5
1919
token_last_eight: 9c5a146c
@@ -24,10 +24,10 @@
2424
id: 3
2525
uid: 2
2626
name: Token A
27-
#token: 90a18faa671dc43924b795806ffe4fd169d28c91
27+
# token: 90a18faa671dc43924b795806ffe4fd169d28c91
2828
token_hash: d6d404048048812d9e911d93aefbe94fc768d4876fdf75e3bef0bdc67828e0af422846d3056f2f25ec35c51dc92075685ec5
2929
token_salt: 99ArgXKlQQ
3030
token_last_eight: 69d28c91
3131
created_unix: 946687980
3232
updated_unix: 946687980
33-
#commented out tokens so you can see what they are in plaintext
33+
# commented out tokens so you can see what they are in plaintext

models/fixtures/commit_status_index.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
id: 1
33
repo_id: 1
44
sha: "1234123412341234123412341234123412341234"
5-
max_index: 5
5+
max_index: 5

models/fixtures/public_key.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
type: 1
99
created_unix: 1559593109
1010
updated_unix: 1565224552
11-
login_source_id: 0
11+
login_source_id: 0

models/fixtures/pull_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,4 @@
9797
issue_id: 20
9898
index: 1
9999
head_repo_id: 23
100-
base_repo_id: 23
100+
base_repo_id: 23

models/fixtures/reaction.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,37 @@
11
-
2-
id: 1 #issue reaction
2+
id: 1 # issue reaction
33
type: zzz # not allowed reaction (added before allowed reaction list has changed)
44
issue_id: 1
55
comment_id: 0
66
user_id: 2
77
created_unix: 1573248001
88

99
-
10-
id: 2 #issue reaction
10+
id: 2 # issue reaction
1111
type: zzz # not allowed reaction (added before allowed reaction list has changed)
1212
issue_id: 1
1313
comment_id: 0
1414
user_id: 1
1515
created_unix: 1573248002
1616

1717
-
18-
id: 3 #issue reaction
18+
id: 3 # issue reaction
1919
type: eyes # allowed reaction
2020
issue_id: 1
2121
comment_id: 0
2222
user_id: 2
2323
created_unix: 1573248003
2424

2525
-
26-
id: 4 #comment reaction
26+
id: 4 # comment reaction
2727
type: laugh # allowed reaction
2828
issue_id: 1
2929
comment_id: 2
3030
user_id: 2
3131
created_unix: 1573248004
3232

3333
-
34-
id: 5 #comment reaction
34+
id: 5 # comment reaction
3535
type: laugh # allowed reaction
3636
issue_id: 1
3737
comment_id: 2

models/fixtures/review.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
updated_unix: 946684831
134134
created_unix: 946684831
135135

136-
-
136+
-
137137
id: 16
138138
type: 4
139139
reviewer_id: 20
@@ -142,19 +142,20 @@
142142
updated_unix: 946684832
143143
created_unix: 946684832
144144

145-
-
145+
-
146146
id: 17
147147
type: 1
148148
reviewer_id: 20
149149
issue_id: 20
150150
content: "review approved by user20"
151151
updated_unix: 946684833
152152
created_unix: 946684833
153-
-
153+
154+
-
154155
id: 18
155156
type: 4
156157
reviewer_id: 0
157-
reviewer_team_id: 5
158+
reviewer_team_id: 5
158159
issue_id: 20
159160
content: "review request for team5"
160161
updated_unix: 946684834
@@ -169,4 +170,3 @@
169170
content: "review request for user15"
170171
updated_unix: 946684835
171172
created_unix: 946684835
172-

models/fixtures/team_repo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@
6262
id: 11
6363
org_id: 17
6464
team_id: 9
65-
repo_id: 24
65+
repo_id: 24

models/fixtures/team_user.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
team_id: 20
125125
uid: 5
126126

127-
-
127+
-
128128
id: 22
129129
org_id: 17
130130
team_id: 9

models/fixtures/watch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@
2626
id: 5
2727
user_id: 11
2828
repo_id: 1
29-
mode: 3 # auto
29+
mode: 3 # auto

models/migrations/fixtures/Test_DeleteOrphanedIssueLabels/issue_label.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,3 @@
2626
id: 5
2727
issue_id: 2
2828
label_id: 87
29-

models/migrations/fixtures/Test_DeleteOrphanedIssueLabels/label.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
-
1919
id: 3
2020
repo_id: 0
21-
org_id: 3
21+
org_id: 3
2222
name: orglabel3
2323
color: '#abcdef'
2424
num_issues: 0

models/migrations/fixtures/Test_RemoveInvalidLabels/label.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,3 @@
2323
id: 5
2424
repo_id: 3
2525
org_id: 0
26-

models/migrations/fixtures/Test_StoreWebauthnCredentialIDAsBytes/webauthn_credential.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,3 @@
2828
attestation_type: 'fido-u2f'
2929
sign_count: 1
3030
clone_warning: false
31-

0 commit comments

Comments
 (0)