Commit e9d5014
committed
🔨 chore: clear pedantic clippy lint backlog across codebase
Resolve accumulated clippy pedantic warnings spanning 53 files:
- Add #[must_use] to ~60 public functions returning values
callers should not silently discard
- Add `# Errors` doc sections to all fallible public functions
describing specific failure conditions
- Replace .expect() panics with proper error propagation via
.context() and pattern matching in changelog parsing
- Use clone_into()/clone_from() over direct clone assignment
to avoid intermediate allocations
- Simplify .map().unwrap_or() chains to .map_or()
- Generalize HashMap parameters with BuildHasher trait bounds
for hasher flexibility in provider helpers
- Flatten Result<Option<T>> to Option<T> where errors were
never meaningfully produced (resolve_remote_head_base)
- Use struct literal initialization with ..Default in tests
- Suppress pedantic doc lints in test utility modules where
full documentation rigor is unnecessary1 parent 882b245 commit e9d5014
File tree
53 files changed
+581
-47
lines changed- src
- agents
- tools
- companion
- config/tests
- git
- services
- studio
- app
- components
- reducer
- state
- types
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
53 files changed
+581
-47
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
| |||
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| 72 | + | |
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
| |||
79 | 81 | | |
80 | 82 | | |
81 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
82 | 88 | | |
83 | 89 | | |
84 | 90 | | |
| |||
93 | 99 | | |
94 | 100 | | |
95 | 101 | | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
96 | 106 | | |
97 | 107 | | |
98 | 108 | | |
| |||
136 | 146 | | |
137 | 147 | | |
138 | 148 | | |
| 149 | + | |
139 | 150 | | |
140 | 151 | | |
141 | 152 | | |
142 | 153 | | |
143 | 154 | | |
144 | 155 | | |
145 | 156 | | |
| 157 | + | |
146 | 158 | | |
147 | 159 | | |
148 | 160 | | |
| |||
165 | 177 | | |
166 | 178 | | |
167 | 179 | | |
| 180 | + | |
168 | 181 | | |
169 | 182 | | |
170 | 183 | | |
| |||
180 | 193 | | |
181 | 194 | | |
182 | 195 | | |
| 196 | + | |
183 | 197 | | |
184 | 198 | | |
185 | 199 | | |
186 | 200 | | |
187 | 201 | | |
| 202 | + | |
188 | 203 | | |
189 | 204 | | |
190 | 205 | | |
| |||
208 | 223 | | |
209 | 224 | | |
210 | 225 | | |
| 226 | + | |
211 | 227 | | |
212 | 228 | | |
213 | 229 | | |
214 | 230 | | |
215 | 231 | | |
| 232 | + | |
216 | 233 | | |
217 | 234 | | |
218 | 235 | | |
| |||
223 | 240 | | |
224 | 241 | | |
225 | 242 | | |
| 243 | + | |
226 | 244 | | |
227 | 245 | | |
228 | 246 | | |
229 | 247 | | |
230 | 248 | | |
| 249 | + | |
231 | 250 | | |
232 | 251 | | |
233 | 252 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
28 | 33 | | |
29 | 34 | | |
30 | 35 | | |
| |||
53 | 58 | | |
54 | 59 | | |
55 | 60 | | |
| 61 | + | |
56 | 62 | | |
57 | 63 | | |
58 | 64 | | |
59 | 65 | | |
60 | 66 | | |
61 | 67 | | |
62 | 68 | | |
| 69 | + | |
63 | 70 | | |
64 | 71 | | |
65 | 72 | | |
66 | 73 | | |
| 74 | + | |
67 | 75 | | |
68 | 76 | | |
69 | 77 | | |
| |||
80 | 88 | | |
81 | 89 | | |
82 | 90 | | |
| 91 | + | |
83 | 92 | | |
84 | 93 | | |
85 | 94 | | |
| |||
90 | 99 | | |
91 | 100 | | |
92 | 101 | | |
| 102 | + | |
93 | 103 | | |
94 | 104 | | |
95 | 105 | | |
| |||
100 | 110 | | |
101 | 111 | | |
102 | 112 | | |
| 113 | + | |
103 | 114 | | |
104 | 115 | | |
105 | 116 | | |
| |||
110 | 121 | | |
111 | 122 | | |
112 | 123 | | |
| 124 | + | |
113 | 125 | | |
114 | 126 | | |
115 | 127 | | |
116 | 128 | | |
117 | 129 | | |
| 130 | + | |
118 | 131 | | |
119 | 132 | | |
120 | 133 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
65 | 69 | | |
66 | 70 | | |
67 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
451 | 451 | | |
452 | 452 | | |
453 | 453 | | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
454 | 458 | | |
455 | 459 | | |
456 | 460 | | |
| |||
892 | 896 | | |
893 | 897 | | |
894 | 898 | | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
895 | 903 | | |
896 | 904 | | |
897 | 905 | | |
| |||
990 | 998 | | |
991 | 999 | | |
992 | 1000 | | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
993 | 1005 | | |
994 | 1006 | | |
995 | 1007 | | |
| |||
1227 | 1239 | | |
1228 | 1240 | | |
1229 | 1241 | | |
| 1242 | + | |
1230 | 1243 | | |
1231 | 1244 | | |
1232 | 1245 | | |
1233 | 1246 | | |
1234 | 1247 | | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
| 1251 | + | |
1235 | 1252 | | |
1236 | 1253 | | |
1237 | 1254 | | |
| |||
1244 | 1261 | | |
1245 | 1262 | | |
1246 | 1263 | | |
| 1264 | + | |
1247 | 1265 | | |
1248 | 1266 | | |
1249 | 1267 | | |
| |||
1278 | 1296 | | |
1279 | 1297 | | |
1280 | 1298 | | |
| 1299 | + | |
1281 | 1300 | | |
1282 | 1301 | | |
1283 | 1302 | | |
| |||
1305 | 1324 | | |
1306 | 1325 | | |
1307 | 1326 | | |
| 1327 | + | |
| 1328 | + | |
| 1329 | + | |
| 1330 | + | |
1308 | 1331 | | |
1309 | 1332 | | |
1310 | 1333 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
44 | 48 | | |
45 | 49 | | |
46 | 50 | | |
| |||
0 commit comments